应用程序在启动后立即崩溃

时间:2012-10-15 20:54:34

标签: ios xcode ios6 ios-provisioning

编辑:我的问题是因为plist文件已损坏。所以,如果你有同样的问题,可能是因为你plist文件中的东西。

所以我有这个应用程序,一切正常,直到我将我的设备更新到IOS 6.之后,我无法在设备上安装该应用程序。该应用程序在IOS 5.0模拟器和IOS 6.0模拟器上运行良好。当我尝试为设备构建它时,启动屏幕会显示两秒钟,然后应用程序关闭。在Xcode中,我收到此错误:

timed out waiting for app to launch

我搜索了网页,并说它是AdHoc配置问题,但我的配置文件是有序的。我甚至更改了应用程序ID并删除了旧配置,我也遇到了同样的错误。

在设备控制台中,我收到了这个奇怪的错误:

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

我不知道发生了什么。有没有人知道为什么会这样?

3 个答案:

答案 0 :(得分:2)

我看到了app.plist中意外输入以下空白字段导致的同一错误:

+   <key>LSApplicationCategoryType</key>
+   <string></string>

答案 1 :(得分:2)

我有完全相同的症状。信不信由你,我将目标代码签名从分发改为开发人员,一切都按预期工作。

答案 2 :(得分:0)

谢谢@nycynik - 解决了这个问题。 在xcode中打开“Organizer”,选择设备(例如iPhone),选择“Application”并删除之前的版本 应用。比再跑。

相关问题