当我尝试在设备上部署 PhoneGAP 应用程序时,xCode 返回“等待应用程序启动超时”错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15565444/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
xCode returns 'timed out waiting for app to launch' error when I trying deploy PhoneGAP app on the device
提问by user2177995
I tried to deploy PhoneGAP HelloWorld test app on the device.
I am using XCode 4.6/iOS 6.1 SDK and I want to deploy app on the iOS 5.1.1 device.
The Project is in debug mode.
When I tried it, xCode returned timed out waiting for app to launch
error.
我尝试在设备上部署 PhoneGAP HelloWorld 测试应用程序。我正在使用 XCode 4.6/iOS 6.1 SDK,我想在 iOS 5.1.1 设备上部署应用程序。项目处于调试模式。当我尝试时,xCode 返回timed out waiting for app to launch
错误。
Why is this happening?
为什么会这样?
回答by Ignacio Barrea
Changing the AdHoc Provisioning for a standard Development / Team Provisioning worked for me.
更改标准开发/团队配置的临时配置对我有用。
回答by Gautam Jain
I had the same problem. I was using an ad hoc profile for debugging. Try with development profile and it will work. Ad hoc works unexpectedly for debugging.
我有同样的问题。我正在使用临时配置文件进行调试。尝试使用开发配置文件,它会起作用。Ad hoc 意外地用于调试。
回答by jspcal
You may need to turn off ad-hoc provisioning profile.
您可能需要关闭临时配置文件。
回答by Vishal
Check in your code perhaps you use Adhoc provisioning profile in debug mode. If your problem
检查您的代码,也许您在调试模式下使用 Adhoc 配置文件。如果你的问题
is not solve then restart your device. Sometimes this type of behavior is seen.
没有解决,然后重新启动您的设备。有时会看到这种行为。