Solution to application startup failure during iOS debugging, ios debugging
I recently used a third-party application in the iOS project to start my application. the following error occurs when I started my application with a third-party application on the physical machine in the debugging phase, the program stops running:
At the same time, set the breakpoint in the following method of the AppDelegate object:
-(BOOL) application :( UIApplication *) application openURL :( nonnull NSURL *) url sourceApplication :( nullable NSString *) sourceApplication annotation :( nonnull id) annotation;
If the program is not interrupted at the breakpoint, find the relevant information and find that the Provisioning Profile file is set as the authorization file when the application is released under debugging, modify the Distribution Provisioning Profile file in "Targets"-> "Build Settings"-> "Code Signing"-> "Provisioning Profile" to the corresponding Development Provisioning Profile.