visual studio 2022 error mt1007 failed to launch application
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