Posts

Post not yet marked as solved
0 Replies
317 Views
I was working with an project in iOS with WatchOS, once I update my WatchOS to 8.0, I am getting the following error: Unhandled Exception: Xamarin.Hosting.MobileDeviceException: Failed to communicate with the device. Please ensure the cable is properly connected, and try rebooting the device (error: 0xe8000065 kAMDMuxConnectError) at Xamarin.Hosting.RealDevice.Connect () [0x00021] in /Users/mandel/Xamarin/xamarin-macios/master/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/RealDevice.cs:57 at Xamarin.Hosting.RealDevice..ctor (System.IntPtr am_device) [0x00022] in /Users/mandel/Xamarin/xamarin-macios/master/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/RealDevice.cs:40 at Xamarin.Hosting.DeviceDiscovery+<>c__DisplayClass23_1.b__0 () [0x00007] in /Users/mandel/Xamarin/xamarin-macios/master/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/DeviceDiscovery.cs:225 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/thread.cs:74 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:968 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:910 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:899 at System.Threading.ThreadHelper.ThreadStart () [0x00008] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/thread.cs:111 [ERROR] FATAL UNHANDLED EXCEPTION: Xamarin.Hosting.MobileDeviceException: Failed to communicate with the device. Please ensure the cable is properly connected, and try rebooting the device (error: 0xe8000065 kAMDMuxConnectError) at Xamarin.Hosting.RealDevice.Connect () [0x00021] in /Users/mandel/Xamarin/xamarin-macios/master/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/RealDevice.cs:57 at Xamarin.Hosting.RealDevice..ctor (System.IntPtr am_device) [0x00022] in /Users/mandel/Xamarin/xamarin-macios/master/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/RealDevice.cs:40 at Xamarin.Hosting.DeviceDiscovery+<>c__DisplayClass23_1.b__0 () [0x00007] in /Users/mandel/Xamarin/xamarin-macios/master/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/DeviceDiscovery.cs:225 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/thread.cs:74 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:968 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:910 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:899 at System.Threading.ThreadHelper.ThreadStart () [0x00008] in /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/src/Xamarin.Mac/mcs/class/referencesource/mscorlib/system/threading/thread.cs:111 Xcode 13.0 Ios 15.0 WatchOS 8.0 Xamarin.ios 15.0.0
Posted Last updated
.
Post not yet marked as solved
0 Replies
264 Views
I am using Mac visual studio Xamarin to develop my application. I have two application project (myapp-x and myapp-y) with me, both the application have watch application as well. I can install myapp-x in my watch from watch app in iPhone it get install and I can use it freely but I am trying to install myapp-y, it showing up installing from watch app but after the installing finish watch doesn't show up the application and watch app is showing to install the app again. I tried to install it again but it seems watch is rejecting the application to install for myapp-y where as myapp-x works completely fine.
Posted Last updated
.
Post not yet marked as solved
1 Replies
484 Views
I have an iPhone SE and Watch series 3, I have an application which is able to debugging in other developer machine but when I am trying to debug it, the app is install in iPhone but is rejecting from watch. I went to Xcode -> Window->Device and Simulators-> on the device I am selecting is with error as 'Failed to prepare device for development'. Details of the error is as follows: Details Failed to prepare device for development. Domain: com.apple.dtdevicekit Code: 806 Recovery Suggestion: If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device. User Info: {     AssociatedMobileDeviceFunction = AMDeviceMountImage;     DVTDeviceErrorIsProxied = 1;     DVTRadarComponentKey = 487927;     NSLocalizedFailure = "This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running."; } -- An unknown error occurred. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653183 User Info: {     DVTRadarComponentKey = 261622;     MobileDeviceErrorCode = "(0xE8000001)";     "com.apple.dtdevicekit.stacktrace" = ( 0   DTDeviceKitBase                     0x000000012e715e98 DTDKCreateNSErrorFromAMDErrorCode + 272 1   DTDeviceKitBase                     0x000000012e74f5dc -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 916 2   DTDeviceKitBase                     0x000000012e74ffc8 __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 560 3   libdispatch.dylib                   0x000000019c46bec0 _dispatch_client_callout + 20 4   libdispatch.dylib                   0x000000019c47afb4 _dispatch_lane_barrier_sync_invoke_and_complete + 60 5   DTDeviceKitBase                     0x000000012e74fd30 -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 168 6   IDEiOSSupportCore                   0x000000012e5e6a68 __43-[DVTiOSDevice prepareProxiedDevicesAsync:]_block_invoke + 460 7   DVTFoundation                       0x0000000102ed87fc __DVT_CALLING_CLIENT_BLOCK__ + 16 8   DVTFoundation                       0x0000000102eda220 __DVTDispatchAsync_block_invoke + 680 9   libdispatch.dylib                   0x000000019c46a128 _dispatch_call_block_and_release + 32 10  libdispatch.dylib                   0x000000019c46bec0 _dispatch_client_callout + 20 11  libdispatch.dylib                   0x000000019c4736a8 _dispatch_lane_serial_drain + 620 12  libdispatch.dylib                   0x000000019c4742a4 _dispatch_lane_invoke + 404 13  libdispatch.dylib                   0x000000019c47eb74 _dispatch_workloop_worker_thread + 764 14  libsystem_pthread.dylib             0x000000019c61789c _pthread_wqthread + 276 15  libsystem_pthread.dylib             0x000000019c6165d4 start_wqthread + 8 ); }
Posted Last updated
.