Unable to debug on iOS device

Daniel Manchester 25 Reputation points
2023-12-05T22:34:48.7433333+00:00

Not entirely sure if this is a result of my upgrade to .net 8 or not but I am not been able to debug on my iOS device any longer. I see the app deploy and the splash screen comes up for 20 seconds then the debugger stops and the app on the phone closes. I can create a working IPA for this same app and I can use it in the simulator but it fails on the device. The log file gives the following:

Xamarin.Messaging.IDB.Local.ApplicationOutputProgress Information: 0 : Error writting to debug stream. Details: Cannot access a disposed object.

Object name: 'AppleDeviceUsbStream'

Thanks for your help

Developer technologies .NET .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2023-12-08T10:02:35.0666667+00:00

    Hello,

    As you Daniel Manchester said, you found that it's caused by the third-party controls.

    Thanks for your sharing.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.