简体   繁体   English

Xcode 6启动失败:尝试在iPad上启动应用程序超时

[英]Xcode 6 launch failed: timed out trying to launch app on iPad

Same basic problem as this one but all the fixes listed have not solved the issue for me. 相同的基本问题, 这一个 ,但列出的所有修补程序还没有解决这个问题对我来说。 I've used a development provisioning file/cert but with no difference. 我使用了开发配置文件/证书,但没有区别。 (and it worked regardless on my iPhone 6) (并且无论在我的iPhone 6上它都能正常工作)

Relevant facts: 相关事实:

1) iPad (ios 7.1) has over 2000 provisioning files, 99% of them autogenerated by Apple. 1)iPad(ios 7.1)拥有2000多个配置文件,其中99%由Apple自动生成。 I suspect this is causing the problem, but I can't figure out how to remove them all. 我怀疑这是导致问题的原因,但我不知道如何将它们全部删除。 I reset the data on the device, but once I tried to run the app again from Xcode it restored them all again. 我重置了设备上的数据,但是一旦尝试从Xcode再次运行该应用程序,它将再次恢复所有数据。

2) The same app and same Xcode set-up work fine on my iPhone 6 (ios 8.1). 2)在我的iPhone 6(ios 8.1)上,相同的应用程序和相同的Xcode设置可以正常工作。 None of the provisioning files get installed on the iPhone. iPhone上未安装任何配置文件。

3) The app will run on the iPad, but just not with the debugger. 3)该应用程序将在iPad上运行,但不能与调试器一起运行。 It also takes very long to launch. 启动也需要很长时间。

I'm stumped and would appreciate any suggestions. 我很困惑,不胜感激任何建议。

I did figure out a way to get rid of the provisioning files, and that has cleared up the problem, at least for now. 我确实找到了一种摆脱配置文件的方法,并且至少在目前为止,这已经解决了问题。

To delete all the provisioning files at once do the following: 要一次删除所有配置文件,请执行以下操作:

  1. Disconnect the device and turn on Airplane mode. 断开设备并打开飞行模式。

  2. Change the date on the device to a time past the last expiration date on the provisioning. 将设备上的日期更改为预配上的最后到期日期之后的时间。 Then, going to General->Profiles should show all the provisioning files as expired. 然后,转到“常规”->“配置文件”应将所有预配置文件显示为已过期。

  3. Restart the device. 重新启动设备。

  4. Go to General->Profiles. 转到常规->个人资料。 In my case it still showed 2000+ installed but when I went in it only showed one (testflight webclip). 就我而言,它仍然显示已安装2000+,但当我进入时仅显示了一个(testflight webclip)。 Exit the profiles and it was reset to four. 退出配置文件,并将其重置为四个。 Refresh one more time and it said just the webclip. 再刷新一次,它说只是网络剪辑。

  5. Reset time/airplane mode/reconnect. 重置时间/飞行模式/重新连接。

At this point on my iPad, the correct number of profiles was downloaded and the app now loads from Xcode without any timeouts. 此时,在我的iPad上,已经下载了正确数量的配置文件,并且现在可以从Xcode加载该应用程序,而不会发生任何超时。

Also changing "Code Signing Identity" from "iOS Distribution" to "iOS Developer" worked for me. 另外,将“代码签名身份”从“ iOS发行版”更改为“ iOS开发人员”对我也有效。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Xcode 6进程启动失败:尝试启动应用程序时超时 - Xcode 6 process launch failed: timed out trying to launch app 无法启动进程启动失败:等待应用程序启动超时 - Could not launch process launch failed: timed out waiting for app to launch 启动AdHoc应用程序时,“进程启动失败:尝试启动应用程序超时” - “process launch failed: timed out trying to launch app” when launching AdHoc app 当我尝试在设备上部署PhoneGAP应用程序时,xCode返回'等待app启动超时'错误 - xCode returns 'timed out waiting for app to launch' error when I trying deploy PhoneGAP app on the device 无法启动“MyApplication”启动失败:进程启动失败:超时等待应用程序启动? - Could not launch “MyApplication” launching failed:process launch failed:timed out waiting for app to launch? Xcode 4.4错误 - 等待应用程序启动超时 - Xcode 4.4 error - Timed out waiting for app to launch Xcode 4.6错误 - 等待应用程序启动超时 - Xcode 4.6 error - Timed out waiting for app to launch Xcode 5-无法在iPhone应用程序的iPad中加载启动图像 - Xcode 5 - Launch Images not loading in iPad of iPhone app 从iPad直接启动会使应用程序崩溃,启动Xcode很好 - Direct launch from iPad crashes the app, Xcode launch is fine iPad应用被拒绝,“无法及时启动”崩溃 - IPad app rejected, “failed to launch in time” crash
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM