使用 Xcode 5 GM,每当我切换到 5.1、6.0 或 6.1 模拟器进行测试时,我都会收到错误“iOS 模拟器无法安装应用程序”。当我重置模拟器时,它可以工作,但这变得非常累。
有人有永久修复或解决方法吗?
最佳答案
看起来这是一个已知问题。来自 Xcode 5 release notes :
After switching the minimum deployment target of an application from iOS 7.0 to a release prior to iOS 7.0, building and running the application may fail with the message “iOS Simulator failed to install the application.”
- Go to the iOS home screen, click and hold the application icon, then tap the hovering “X” button to delete the application. 13917023
另一个发行说明:
iOS Simulator
- If an iOS app is detached, relaunching the same app from Xcode will result in a black screen in the Simulator even though the new app is launched. Terminate the app in the Simulator or relaunch it for the second time. 14648784
关于Xcode 5 - 每次切换模拟器时都是 "iOS Simulator failed to install application",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18746093/