Xcode 4.6错误 - 等待应用程序启动超时

She*_*pta 17 iphone error-handling xcode timeout ios

我正在Release中构建一个应用程序,并在iPhone 4s上运行.

当我点击运行时,一切运行良好,我的应用程序甚至可以在iPhone上运行.

但有一段时间后,我有一个来自Xcode的错误:"等待应用程序启动时超时",而我的应用程序仍在运行.

怎么处理呢?

Vis*_*hal 46

检查您正在使用哪个配置,似乎ad-hoc配置不能用于调试.如果您的问题没有通过上述说明解决,那么也尝试这些:

     Stop the app from running in Xcode;
     Delete the app from the device (or Simulator);
     Select Product > Clean from the Xcode menu;
     Close Xcode;
     Close the Simulator (or restart the device);
     Restart your computer & then check.
Run Code Online (Sandbox Code Playgroud)

  • 只是添加答案:app store provisioning profiles不能用于调试. (13认同)

Tru*_*rup 10

检查您正在使用的配置.确保您使用Provisioning配置文件来测试设备上的应用.如果您使用的是分发配置文件,那么您将遇到此问题.