visual studio 2022 error mt1007 failed to launch application

Seth Isaacks 51 Reputation points
2023-04-18T19:51:51.3333333+00:00

I recently upgraded windows visual studio to 17.5.4 Windows Xamarin Forms to 5.0.0.2545 When I try to debug the Xamarin iOS application I get the following: error MT1007: Failed to launch the application '/Users/Library/Caches/Xamarin/mtbs/builds/MyApp.iOS/8a8b8e8316262bab894c6e0f820cac3c5cfb742bfa540e885b14062f62d65d01/bin/iPhone/Debug/device-builds/iphone12.1-16.4.1/MyApp.iOS.app' on the device 'iPhone (2)': Failed to launch the application 'com.MyApp.' on the device 'iPhone (2)': Invalid Service Error (error: 0xe8000022) My build machine on the MAC says that XCode and Visual Studio are up to date.
The app still deploys but to the phone but it will not launch the app nor debug the app

Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Debugging
{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.