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

问题描述:

编辑:我的问题是因为plist文件已损坏。所以,如果你有同样的问题,可能是因为你的plist文件。应用程序在启动后立即崩溃

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

timed out waiting for app to launch 

我在网上搜索,它说,这是一个即席配置问题,但我的配置配置文件是为了。我甚至改变了应用程序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 

我没有任何线索发生了什么。有谁知道为什么会发生这种情况?

+1

应用程序失败后,它显示在设备上?你也可以尝试从设备上删除应用程序,然后再试一次? – nycynik

+1

重新启动一切。设备和计算机。为异常设置断点。从干净的版本删除并重新安装。控制台消息并不熟悉,但它们肯定会成为配置问题。 – bshirley

+1

,然后有经典的arm6问题,其中你没有构建手机的体系结构的应用程序,因为设置已经从你下面更改http://*.com/questions/4198676/warning-iphone-apps-should-include- an-armv6-architecture-even-with-build-config – bshirley

谢谢@nycynik - 解决了这个问题。 在xcode中打开“管理器”,选择设备(例如iPhone),选择“应用程序”并删除以前版本的 应用程序。再次运行。

+1

或者只是按住应用程序的按钮,直到它摇晃,然后按出现的X. –

只见引起的下列空白字段的app.plist意外地进入了同样的错误:

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

我有相同的症状。相信与否,我将我的目标代码从发行版改为开发者,并且所有内容都按预期工作。