Application crash immediately after launch

EDIT: My problem was that the plist file was damaged. Therefore, if you have the same problem, perhaps it is because of something in your plist file.

SO I have this application, and everything works fine until I updated my device to iOS 6. After that, I could not install the application on the device. The app worked great on the iOS 5.0 simulator and iOS 6.0 simulator. When I try to create it for the device, the splash screen appears for two seconds, and then the application closes. In Xcode, I get this error:

timed out waiting for app to launch 

I searched the Internet and he said that this is a problem with preparing AdHoc, but my configuration profiles are fine. I even changed the application identifier and removed the old software, and I got the same error.

In the device console, I get this strange error:

 Oct 15 23:48:23 iPad2-3G backboardd[51] <Warning>: Launch Services: Registered unknown app identifier InvoiceAppDev   Oct 15 23:48:23 iPad2-3G backboardd[51] <Warning>: Launch Services: Unable to find app identifier InvoiceAppDev Oct 15 23:48:23 iPad2-3G backboardd[51] <Warning>: Can't create application "InvoiceAppDev" without a bundle path Oct 15 23:48:44 iPad2-3G mobile_house_arrest[200] <Error>: Max open files: 78   Oct 15 23:48:44 iPad2-3G installd[30] <Error>: 0x2ff81000 handle_install: Install of "/var/mobile/Media/PublicStaging/InvoiceApp.app" requested by mobile_installation_proxy Oct 15 23:48:44 iPad2-3G installd[30] <Error>: 0x2ff81000 MobileInstallationInstall_Server: Installing app InvoiceAppDev   Oct 15 23:48:44 iPad2-3G installd[30] <Error>: Oct 15 23:48:44 SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName] Oct 15 23:48:45 iPad2-3G installd[30] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile   Oct 15 23:48:45 iPad2-3G installd[30] <Error>: entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by a provisioning profile 

I do not know what happened. Does anyone know why this happened?

+7
source share
3 answers

I saw the same error caused by accidentally entering the following empty field in app.plist:

 + <key>LSApplicationCategoryType</key> + <string></string> 
+2
source

I had the same symptoms. Believe it or not, I changed the subscription to the target code from the distribution to the developer, and everything worked as expected.

+2
source

Thanks @nycynik - this solved the problem. In xcode, open the "Organizer", select the device (for example, iPhone), select "Application" and uninstall the previous version of the Application. Then run again.

0
source

All Articles