Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to prepare device for development. xcode 14.2, iOS 16.2 - Physical device #12286

Closed
Kremed opened this issue Dec 23, 2022 · 27 comments
Closed
Labels
external platform/iOS 🍎 s/needs-attention Issue has more information and needs another look t/bug Something isn't working

Comments

@Kremed
Copy link

Kremed commented Dec 23, 2022

Description

I'm trying to Debug my app on a physical (iPhone X with iOS 16.2), from Visual Studio for Mac 2022 with Xcode 14.2.
The application is installed to my phone, but the icon does not appear, and I still cannot launch the application.

- the application runs normally on a Simulator (iPhone 14 with IOS 16.2)
- the application runs normally on the same Physical (iPhone X with iOS 16.2) when it installed from TestFlight

When I click on the application icon on my IPhone :
unable to install [APP NAME] this app cannot be installed because its integrity could not be verified

I also get these logs from Visual Studio for Mac :

DVTRadarComponentKey=261622, NSLocalizedDescription=The disk image is not allowed to be mounted.}}, NSLocalizedRecoverySuggestion=This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility., NSLocalizedFailure=The disk image is not allowed to be mounted., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare the device for development.}
warning HE0030: Could not mount developer tools on 'iPhone X Ios 16.2': Failed to prepare the device for development.
        
warning HE0031: Failed to mount developer tools on 'iPhone X Ios 16.2'.
Could not find the application 'com.companyname.ios162andxcode142' on the device 'iPhone X Ios 16.2'.

Steps to Reproduce

1 - Create New MAUI APP
2 - Install Xcode 14.2
3 - Debug on iPhone X - IOS 16.2

Link to public reproduction project repository

.

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

IOS 16.2

Did you find any workaround?

I have added a device to the list of devices in the developer account from Apple, but without any benefit

Relevant log output

Application Output :

warning HE0003: Could not load the framework 'DVTDeveloperModeHelper' (path: /Applications/Xcode-14.2.0.app/Contents/SharedFrameworks/DVTDeveloperModeHelper.framework/DVTDeveloperModeHelper): not found.
        
2022-12-23 16:34:01.138 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.IDEDebugger.SpriteKitQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2022-12-23 16:34:01.140 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.SpriteKit.GKStateMachineQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.WatchApplication of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Application of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Tool of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOSSimulator.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.IntentsService-AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.WatchOS.Bundle of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.WatchKit2-AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.WatchOS.BundleInfo of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.152 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOS.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.153 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Framework of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.153 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.ExtensionKitAppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.153 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.153 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.153 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.IDEiPhoneSupport.TargetEditor for extension Xcode.IDEiPhoneSupport.TargetEditor.WatchOS.Application of plug-in com.apple.dt.IDEWatchSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUIFramework of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.Application of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.AppExtension of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.ExtensionKitAppExtension of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.appletvos.Bundle of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATVSimulator.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DeviceIconProvider for extension Xcode.DebuggerFoundation.DeviceIconProvider.AppleTV of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATV.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.XPC of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:01.154 mlaunch[1338:28105] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.appletvos.BundleTargetInfo of plug-in com.apple.dt.IDEAppleTVSupportUI
2022-12-23 16:34:02.118 mlaunch[1338:28130] Thread Pool Worker DTDeviceKit: Failed to mount DDI from '<DVTFilePath:0x600002e0aa70:'/Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/16.1/DeveloperDiskImage.dmg'>', error=-402652900: Error Domain=com.apple.dtdevicekit Code=806 "Failed to prepare the device for development." UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x600000a48d80 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402652900 "The disk image is not allowed to be mounted." UserInfo={MobileDeviceErrorCode=(0xE800011C), com.apple.dtdevicekit.stacktrace=(
	0   DTDeviceKitBase                     0x0000000115409c90 DTDKCreateNSErrorFromAMDErrorCode + 235
	1   DTDeviceKitBase                     0x0000000115443c3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
	2   DTDeviceKitBase                     0x000000011544471c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
	3   libdispatch.dylib                   0x00007ff814b5a317 _dispatch_client_callout + 8
	4   libdispatch.dylib                   0x00007ff814b677ee _dispatch_lane_barrier_sync_invoke_and_complete + 60
	5   DTDeviceKitBase                     0x000000011544445c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
	6   mlaunch                             0x000000010e45c439 xamarin_dyn_objc_msgSend + 217
	7   ???                                 0x0000000116849b9f 0x0 + 4672756639
	8   ???                                 0x0000000116849a33 0x0 + 4672756275
	9   ???                                 0x00000001168446bb 0x0 + 4672734907
	10  ???                                 0x000000011533f2c2 0x0 + 4650693314
	11  ???                                 0x0000000114580ba6 0x0 + 4636281766
	12  ???                                 0x00000001145806eb 0x0 + 4636280555
	13  ???                                 0x000000011533f0f3 0x0 + 4650692851
	14  ???                                 0x00000001168496ee 0x0 + 4672755438
	15  ???                                 0x0000000114850d03 0x0 + 4639231235
	16  ???                                 0x0000000114850b1b 0x0 + 4639230747
	17  ???                                 0x0000000116846723 0x0 + 4672743203
	18  ???                                 0x0000000116846403 0x0 + 4672742403
	19  ???                                 0x000000011534967b 0x0 + 4650735227
	20  ???                                 0x000000011534904b 0x0 + 4650733643
	21  ???                                 0x0000000115348f43 0x0 + 4650733379
	22  ???                                 0x00000001153468ca 0x0 + 4650723530
	23  ???                                 0x0000000115345e9a 0x0 + 4650720922
	24  ???                                 0x00000001153458a3 0x0 + 4650719395
	25  ???                                 0x0000000115345b36 0x0 + 4650720054
	26  mlaunch                             0x000000010e549263 mono_jit_runtime_invoke + 1603
	27  mlaunch                             0x000000010e67f31f mono_runtime_try_invoke + 143
	28  mlaunch                             0x000000010e6cc4ba worker_callback + 938
	29  mlaunch                             0x000000010e6ca111 worker_thread + 369
	30  mlaunch                             0x000000010e6d6963 start_wrapper_internal + 403
	31  mlaunch                             0x000000010e6d67ae start_wrapper + 62
	32  libsystem_pthread.dylib             0x00007ff814d114e1 _pthread_start + 125
	33  libsystem_pthread.dylib             0x00007ff814d0cf6b thread_start + 15
), DVTRadarComponentKey=261622, NSLocalizedDescription=The disk image is not allowed to be mounted.}}, NSLocalizedRecoverySuggestion=This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility., NSLocalizedFailure=The disk image is not allowed to be mounted., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare the device for development.}
warning HE0030: Could not mount developer tools on 'iPhone X Ios 16.2': Failed to prepare the device for development.
        
warning HE0031: Failed to mount developer tools on 'iPhone X Ios 16.2'.
warning MT1043: Failed to launch the application using the instruments service. Will try launching the app using gdb service.
        
Launching 'com.companyname.ios162andxcode142' on the device 'iPhone X Ios 16.2'
2022-12-23 16:34:02.506 mlaunch[1338:28105] [MT] DTDeviceKit: Failed to mount DDI from '<DVTFilePath:0x600002e0aa70:'/Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/16.1/DeveloperDiskImage.dmg'>', error=-402652900: Error Domain=com.apple.dtdevicekit Code=806 "Failed to prepare the device for development." UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x60000095cfc0 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402652900 "The disk image is not allowed to be mounted." UserInfo={MobileDeviceErrorCode=(0xE800011C), com.apple.dtdevicekit.stacktrace=(
	0   DTDeviceKitBase                     0x0000000115409c90 DTDKCreateNSErrorFromAMDErrorCode + 235
	1   DTDeviceKitBase                     0x0000000115443c3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
	2   DTDeviceKitBase                     0x000000011544471c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
	3   libdispatch.dylib                   0x00007ff814b5a317 _dispatch_client_callout + 8
	4   libdispatch.dylib                   0x00007ff814b677ee _dispatch_lane_barrier_sync_invoke_and_complete + 60
	5   DTDeviceKitBase                     0x000000011544445c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
	6   mlaunch                             0x000000010e45c439 xamarin_dyn_objc_msgSend + 217
	7   ???                                 0x0000000116849b9f 0x0 + 4672756639
	8   ???                                 0x0000000116849a33 0x0 + 4672756275
	9   ???                                 0x00000001168446bb 0x0 + 4672734907
	10  ???                                 0x000000011533f2c2 0x0 + 4650693314
	11  ???                                 0x0000000114580ba6 0x0 + 4636281766
	12  ???                                 0x00000001145806eb 0x0 + 4636280555
	13  ???                                 0x000000011533f0f3 0x0 + 4650692851
	14  ???                                 0x0000000114853f4e 0x0 + 4639244110
	15  ???                                 0x0000000114853e45 0x0 + 4639243845
	16  ???                                 0x00000001107ba231 0x0 + 4571505201
	17  mlaunch                             0x000000010e549263 mono_jit_runtime_invoke + 1603
	18  mlaunch                             0x000000010e67f31f mono_runtime_try_invoke + 143
	19  mlaunch                             0x000000010e6821cf mono_runtime_invoke + 95
	20  mlaunch                             0x000000010e45970c xamarin_invoke_trampoline + 6220
	21  mlaunch                             0x000000010e45b0d9 xamarin_arch_trampoline + 105
	22  mlaunch                             0x000000010e45c2b6 xamarin_x86_64_common_trampoline + 118
	23  Foundation                          0x00007ff815c55527 __NSThreadPerformPerform + 179
	24  CoreFoundation                      0x00007ff814dd817b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	25  CoreFoundation                      0x00007ff814dd80e3 __CFRunLoopDoSource0 + 180
	26  CoreFoundation                      0x00007ff814dd7e5d __CFRunLoopDoSources0 + 242
	27  CoreFoundation                      0x00007ff814dd6878 __CFRunLoopRun + 892
	28  CoreFoundation                      0x00007ff814dd5e3c CFRunLoopRunSpecific + 562
	29  Foundation                          0x00007ff815c33d4a -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 216
	30  Foundation                          0x00007ff815cb9c21 -[NSRunLoop(NSRunLoop) runUntilDate:] + 103
	31  mlaunch                             0x000000010e45c439 xamarin_dyn_objc_msgSend + 217
	32  ???                                 0x00000001145775cf 0x0 + 4636243407
	33  ???                                 0x00000001148479cb 0x0 + 4639193547
	34  ???                                 0x000000011484717f 0x0 + 4639191423
	35  ???                                 0x0000000110871e8b 0x0 + 4572257931
	36  ???                                 0x000000011069f9e3 0x0 + 4570348003
	37  ???                                 0x000000011069fe51 0x0 + 4570349137
	38  mlaunch                             0x000000010e549263 mono_jit_runtime_invoke + 1603
	39  mlaunch                             0x000000010e67d918 mono_runtime_invoke_checked + 136
	40  mlaunch                             0x000000010e684ce5 mono_runtime_exec_main_checked + 117
	41  mlaunch                             0x000000010e4a434c mono_jit_exec + 364
	42  mlaunch                             0x000000010e4a73e8 mono_main + 8728
	43  mlaunch                             0x000000010e45cc69 xamarin_main + 1145
	44  mlaunch                             0x000000010e45da74 main + 36
	45  dyld                                0x000000011cf5452e start + 462
), DVTRadarComponentKey=261622, NSLocalizedDescription=The disk image is not allowed to be mounted.}}, NSLocalizedRecoverySuggestion=This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility., NSLocalizedFailure=The disk image is not allowed to be mounted., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare the device for development.}
warning HE0030: Could not mount developer tools on 'iPhone X Ios 16.2': Failed to prepare the device for development.
        
warning HE0031: Failed to mount developer tools on 'iPhone X Ios 16.2'.
Could not find the application 'com.companyname.ios162andxcode142' on the device 'iPhone X Ios 16.2'.
@Kremed Kremed added the t/bug Something isn't working label Dec 23, 2022
@KSemenenko
Copy link
Contributor

I have the same also for Xcode 14.1

@frederikbehr
Copy link

I got the same problem...

@PaulAndersonS
Copy link
Contributor

I too have the same issue. Any workaround possible?

@DLanz91
Copy link

DLanz91 commented Jan 26, 2023

Has someone found a way to sort this out?

@KSemenenko
Copy link
Contributor

Failed to install application on device iPhone Kos: warning HE0003: Could not load the framework 'DVTDeveloperModeHelper' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeveloperModeHelper.framework/DVTDeveloperModeHelper): not found. 2023-01-26 19:05:42.842 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.IDEDebugger.SpriteKitQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor 2023-01-26 19:05:42.843 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.SpriteKit.GKStateMachineQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor 2023-01-26 19:05:42.862 mlaunch[31053:2393584] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.WatchApplication of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Application of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Tool of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOSSimulator.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.IntentsService-AppExtension of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.WatchOS.Bundle of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.WatchKit2-AppExtension of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.WatchOS.BundleInfo of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOS.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Framework of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.ExtensionKitAppExtension of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.AppExtension of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.862 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.IDEiPhoneSupport.TargetEditor for extension Xcode.IDEiPhoneSupport.TargetEditor.WatchOS.Application of plug-in com.apple.dt.IDEWatchSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUIFramework of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.Application of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.AppExtension of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.ExtensionKitAppExtension of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.appletvos.Bundle of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATVSimulator.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DeviceIconProvider for extension Xcode.DebuggerFoundation.DeviceIconProvider.AppleTV of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATV.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.XPC of plug-in com.apple.dt.IDEAppleTVSupportUI 2023-01-26 19:05:42.864 mlaunch[31053:2393584] 

Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.appletvos.BundleTargetInfo of plug-in com.apple.dt.IDEAppleTVSupportUI error MT1006: Could not install the application 

'/Users/Developer/GetBee/mobile/bin/Debug/net7.0-ios/iossimulator-x64/Mobile.app' on the device 'iPhone Kos': AMDeviceSecureInstallApplicationBundle returned: 0xe8008014.

and now I'm totaly blocked. I need check app on device

@jfversluis
Copy link
Member

@rolfbjarne does this mean anything to you?

@ChrisHolcomb
Copy link

Having the same issue with Xcode 14.2. Strange thing is it will deploy using VS for Mac but in Rider the simulator works fine but when I try to deploy to my physical iPhone I get this error. When I check the file path Applications/Xcode.app/Contents/SharedFrameworks/ there is no DVTDeveloperModeHelper.framework folder.

@KSemenenko
Copy link
Contributor

KSemenenko commented Jan 28, 2023

Simulator works fine for rider and vsformac.
Rider support said this is vs for Mac issue.
Also for Xcode 14.1 the same for me

@rolfbjarne
Copy link
Member

'/Users/Developer/GetBee/mobile/bin/Debug/net7.0-ios/iossimulator-x64/Mobile.app' on the device 'iPhone Kos': AMDeviceSecureInstallApplicationBundle returned: 0xe8008014.

That error code means "The executable contains an invalid signature."

Please check your project file and see if there are any entries turning code signing off:

<EnableCodeSigning>false</EnableCodeSigning>

and then remove those lines.

@KSemenenko
Copy link
Contributor

KSemenenko commented Jan 30, 2023

no, nothing like that

<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFrameworks>net7.0-android;net7.0-ios</TargetFrameworks>
        <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
        <OutputType>Exe</OutputType>
        <RootNamespace>Mobile</RootNamespace>
        <UseMaui>true</UseMaui>
        <SingleProject>true</SingleProject>
        <ImplicitUsings>enable</ImplicitUsings>

        <!-- Display name -->
        <ApplicationTitle>APPTITLE</ApplicationTitle>

        <!-- App Identifier -->
        <ApplicationId>com.APPTITLE</ApplicationId>
        <ApplicationIdGuid>20E46392-AE9C-4116-8D2C-066DDBD4650A</ApplicationIdGuid>

        <!-- Versions -->
        <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
        <ApplicationVersion>1</ApplicationVersion>

        <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
        <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
        <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
        <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
        <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
        <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
    </PropertyGroup>
    
    <ItemGroup>
        <!-- App Icon -->
        <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#1A1A1C" BaseSize="128,128" />

        <!-- Splash Screen -->
        <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#1A1A1C" BaseSize="128,128" />

        <!-- Images -->
        <MauiImage Include="Resources\Images\*" />

        <!-- Custom Fonts -->
        <MauiFont Include="Resources\Fonts\*" />

        <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
        <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
    </ItemGroup>

    <ItemGroup Condition="$(TargetFramework.Contains('-android'))">
        <GoogleServicesJson Include="Platforms\Android\google-services.json" />
    </ItemGroup>

    <PropertyGroup Condition="$(TargetFramework.Contains('-android')) and '$(Configuration)' == 'Release'">
        <AndroidKeyStore>True</AndroidKeyStore>

       <AndroidLinkMode>SdkOnly</AndroidLinkMode>
        
    </PropertyGroup>


    <PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Release'">
        <RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
        <ArchiveOnBuild>true</ArchiveOnBuild>
        <CodesignKey>iPhone Distribution</CodesignKey>
        <CodesignProvision>AppStore</CodesignProvision>
        <MtouchLink>SdkOnly</MtouchLink>
    </PropertyGroup>

    
    <ItemGroup>
        <PackageReference Include="CommunityToolkit.Maui" Version="3.1.0" />
        <PackageReference Include="CommunityToolkit.Maui.Markup" Version="2.1.0" />
        <PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
        <PackageReference Include="ManagedCode.Communication" Version="2.0.13" />
        <PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.2" />
        <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
        <PackageReference Include="Plugin.Maui.Audio" Version="1.0.0" />
        <PackageReference Include="Sentry.Maui" Version="3.25.0-preview.3" />
    </ItemGroup>
    
 	<ItemGroup>
        <EmbeddedResource Update="Resources\Localizations\AppResources.resx">
            <Generator>PublicResXFileCodeGenerator</Generator>
            <LastGenOutput>AppResources.Designer.cs</LastGenOutput>
        </EmbeddedResource>
        <Compile Update="Resources\Localizations\AppResources.Designer.cs">
            <DesignTime>True</DesignTime>
            <AutoGen>True</AutoGen>
            <DependentUpon>AppResources.resx</DependentUpon>
        </Compile>
    </ItemGroup>
    
    <PropertyGroup>
        <DefineConstants>MAUI</DefineConstants>
    </PropertyGroup>
    
    <ProjectExtensions><VisualStudio><UserProperties XamarinHotReloadGenericExceptionInfoBarGetBeeMobileHideInfoBar="True" /></VisualStudio></ProjectExtensions>
    
</Project>

@rolfbjarne
Copy link
Member

@KSemenenko can you get a binlog for a build that won't deploy to the device? Make sure to clean the project first, so the build doesn't skip steps we might want to see in the build log.

@KSemenenko
Copy link
Contributor

@rolfbjarne let me try

@KSemenenko
Copy link
Contributor

KSemenenko commented Jan 31, 2023

logs.zip
I collect some logs, but I cant find how to use binlog, anyway I will spend more time today. also this is all logs what I can get for now.

Build output:

Target _CodesignVerify:
    /usr/bin/codesign --verify -vvvv "-R=anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.1] exists and (certificate leaf[field.1.2.840.113635.100.6.1.2] exists or certificate leaf[field.1.2.840.113635.100.6.1.4] exists)" bin/Debug/net7.0-ios/ios-arm64/My.Mobile.app 
    bin/Debug/net7.0-ios/ios-arm64/My.Mobile.app: valid on disk
    bin/Debug/net7.0-ios/ios-arm64/My.Mobile.app: satisfies its Designated Requirement
    bin/Debug/net7.0-ios/ios-arm64/My.Mobile.app: explicit requirement satisfied

Deploy to device:

 CreatingStagingDirectory - PercentComplete: 5%
 ExtractingPackage - PercentComplete: 15%
 InspectingPackage - PercentComplete: 20%
 PreflightingApplication - PercentComplete: 30%
 VerifyingApplication - PercentComplete: 40%
 ApplicationVerificationFailed: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.FA0Pf6/extracted/My.Mobile.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)
error MT1006: Could not install the application '/Users/ksemenenko/Developer/mobile/My.Mobile/bin/Debug/net7.0-ios/ios-arm64/My.Mobile.app' on the device 'iPhone Kos': AMDeviceSecureInstallApplicationBundle returned: 0xe8008015.

Application output:

warning HE0003: Could not load the framework 'DVTDeveloperModeHelper' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeveloperModeHelper.framework/DVTDeveloperModeHelper): not found.
        
2023-01-31 09:58:46.329 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.IDEDebugger.SpriteKitQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2023-01-31 09:58:46.331 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.SpriteKit.GKStateMachineQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.WatchApplication of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Application of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Tool of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOSSimulator.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.IntentsService-AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.WatchOS.Bundle of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.WatchKit2-AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.WatchOS.BundleInfo of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOS.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Framework of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.ExtensionKitAppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.344 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.IDEiPhoneSupport.TargetEditor for extension Xcode.IDEiPhoneSupport.TargetEditor.WatchOS.Application of plug-in com.apple.dt.IDEWatchSupportUI
2023-01-31 09:58:46.345 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUIFramework of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.345 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.Application of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.AppExtension of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.ExtensionKitAppExtension of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.appletvos.Bundle of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATVSimulator.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DeviceIconProvider for extension Xcode.DebuggerFoundation.DeviceIconProvider.AppleTV of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATV.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.XPC of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-01-31 09:58:46.346 mlaunch[89929:4560414] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.appletvos.BundleTargetInfo of plug-in com.apple.dt.IDEAppleTVSupportUI
Launched application 'com.my.app' on 'iPhone Kos' with pid 96668

In my config I selet this CodesignProvision:

    <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
      <CodesignKey>Apple Development: Konstantin Semenenko (AAAAAAAAA)</CodesignKey>
      <CodesignProvision>iOS Team Provisioning Profile: com.my.app</CodesignProvision>
    </PropertyGroup>

this CodesignProvision getnreated by xcode, and xcode able to run test app with the same bundleid on my device.

@KSemenenko
Copy link
Contributor

I installed it, but I can't find "Open the Build Logging pad" in VS for Max
Screenshot 2023-01-31 at 10 16 44

@rolfbjarne
Copy link
Member

this CodesignProvision generated by xcode, and xcode able to run test app with the same bundleid on my device.

Do you have any custom entitlements in your MAUI app (i.e. what's the contents of the Entitlements.plist file)?

@KSemenenko
Copy link
Contributor

I have this @rolfbjarne

Entitlements.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>aps-environment</key>
	<string>production</string>
</dict>
</plist>

@rolfbjarne
Copy link
Member

@KSemenenko does the app install & launch on device if you remove that aps-environment entry?

@AntonUA86
Copy link

@KSemenenko does the app install & launch on device if you remove that aps-environment entry?

Hello, I have the same problem, and if I remove these lines, the project is start

@rolfbjarne
Copy link
Member

@KSemenenko the value for aps-environment must be development for builds signed with a development provisioning profile: https://developer.apple.com/documentation/bundleresources/entitlements/aps-environment?language=objc

@mattleibow mattleibow added the s/needs-info Issue needs more info from the author label Feb 3, 2023
@ghost
Copy link

ghost commented Feb 3, 2023

Hi @Kremed. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@mattleibow
Copy link
Member

Can we close this issue?

@KSemenenko
Copy link
Contributor

KSemenenko commented Feb 3, 2023

Sorry, we had to switch from MAUI to Xamarin and then to ReactNative and give up MAUI/Xamarin.
Unfortunately we can't make the iOS extensions for videobroadcast.

But for our problem, I changed it to develop but it didn't help.

CreatingStagingDirectory - PercentComplete: 5%
 ExtractingPackage - PercentComplete: 15%
 InspectingPackage - PercentComplete: 20%
 PreflightingApplication - PercentComplete: 30%
 VerifyingApplication - PercentComplete: 40%
 ApplicationVerificationFailed: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.MZ3HAQ/extracted/My.Mobile.app : 0xe8008014 (The executable contains an invalid signature.)
error MT1006: Could not install the application '/Users/ksemenenko/Developer/mobile/My.Mobile/bin/Debug/net7.0-ios/iossimulator-x64/My.Mobile.app' on the device 'iPhone Kos': AMDeviceSecureInstallApplicationBundle returned: 0xe8008014.
    

I can see from the log that despite the fact that I run VS for Mac on the device thinks that it is a build simulator

The Xamarin project also runs fine on the device.

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Feb 3, 2023
@rolfbjarne
Copy link
Member

I can see from the log that despite the fact that I run VS for Mac on the device thinks that it is a build simulator

Good catch, I'm not sure what's happening here.

Adding this to the csproj (for all configurations, not just Release), should work around it:

<PropertyGroup>
    <RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
</PropertyGroup>

can you try that and confirm if it works?

@KSemenenko
Copy link
Contributor

@rolfbjarne I can confirm, in VS for Mac preview, after I removed aps-environment build is working.
Thanks for you help!
I didn't even think that such a little thing as a push-notifications channel could break debug.

@AntonUA86
Copy link

This error is caused by missing required certificates which can be created on the account of Apple developer.

@mos379
Copy link

mos379 commented Feb 9, 2023

I have exactly the same issue but for xamarin app, so it must be a VS issue

@Kremed
Copy link
Author

Kremed commented Feb 14, 2023

after updating Microsoft Visual Studio 2022 to Version 17.4.4 I did not face this issue again.✅

@Kremed Kremed closed this as completed Feb 14, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
external platform/iOS 🍎 s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests