Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App crashing immediately after start

EDIT: My problem was because the plist file was corrupted . So if you have the same issue, probably is because of something in you plist file.

SO i have this app and everything worked just fine until i updated my device to IOS 6. After that i couldn't install the app on the device . The app worked just fine on IOS 5.0 simulator and IOS 6.0 simulator . When i try to build it for device , the splash screen appears for two second and then the app closes . In Xcode i receive this error :

timed out waiting for app to launch

I searched the web and it said that it is a AdHoc provisioning problem but my provisioning profiles are in order . I even changed the app id and deleted the old provisioning and i got the same error .

In the device console i receive this weird 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 don't have any clue what happened . Does anybody has any idea why this happened ?

like image 946
flaviusilaghi Avatar asked Oct 15 '12 20:10

flaviusilaghi


People also ask

Why is my app closing as soon as I open it?

Apps on Android can crash because of low storage space, too many apps running simultaneously, a weak internet connection, or not having the proper app updates installed.

How do I stop apps from crashing on startup?

The easiest way to fix an app that keeps crashing on your Android smartphone is to simply force stop it and open it again. To do this, go to Settings -> Apps and select the app that keeps crashing. Tap on the app's name and then tap on 'Force stop'. Now try opening the app again and see if it works well.

Why is my app crashing right when I open it IOS?

When your apps keep crashing on your iPhone, updating them may just be the trick to solving it. To quickly check whether a specific app has an update, go to the App Store's Search tab to find the app. If an update is available, you'll see an Update button instead of the usual Open button. Tap on it to update the app.


1 Answers

I saw the same error caused by the accidental entry of the following blank field in app.plist:

+   <key>LSApplicationCategoryType</key>
+   <string></string>
like image 81
paiego Avatar answered Oct 07 '22 12:10

paiego