VS mac update crashed and now I have strange errors.

shaun pryszlak 26 Reputation points
2022-12-11T15:59:10.857+00:00

My mac crashed while VS was updating to the latest version. I use it for Xamarin.Forms and generally debug the iOS versions locally.

Now when I run my app in the simulator it comes up with the splash screen and then closes with the attached error log. I was was tidying up the xcassets folder and thought it might have been related to that. there were a few duplicate .pdf images in there.

In the end I removed VS, dot net core (via the scripts on the MS web site) and xcode, rebooted and then reinstalled them. The app loaded up fine the first time but when I started making some .XAML changes it crashed again.

Any idea what the log file says?

269394-ios-sim-error.txt

Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2022-12-13T05:47:15.92+00:00

    Hello @shaun pryszlak ,

    Debugging on a physical device is fine. The app runs with no problem.

    From the Info.plist file, I can see that your app requires many permissions, and some features are not supported with simulator by Apple such as app purchasing. It is unclear which feature causes the crash. It's recommended that you debug/test the app on your physical device.

    For the simulator testing limitation and more details, you can read the Doc from Apple: Simulator Overview - Simulator Help (apple.com)

    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.