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

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,362 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,004 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.