Debugging on iOS Locks Up

Tony Pitman 76 Reputation points
2021-10-11T13:50:33.187+00:00

I have Visual Studio 2019 (8.10.10.8) with Xamarin Mac (7.14.0.27) and Xamarin iOS (15.0.0.6). I am not seeing any updates to any of those in check for updates, so I am pretty sure they are the latest.

When I debug my app on an iPhone 8 or iPhone 13 (or any iPhone that I have tried), most of the time after not very long the app will stop responding and seems to be locked up.

If I then kill the app, Visual Studio still thinks it is debugging, though it doesn't really do anything.

If I unplug the iPhone then Visual Studio comes back alive.

This has been happening ever since I have been using Visual Studio 2019 for the last year or so on this project.

I do not get any crash reports or exceptions that I can detect.

How do I determine what is causing it to lock up?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,370 questions
{count} votes

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.