Xcode 5.0.1 iOS 7.0.3 模拟器未启动
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19543250/
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 5.0.1 iOS 7.0.3 Simulator Not launching
提问by Uzair Khan
I just upgraded to Xcode 5.0.1 on OSX Mavericks and upgraded Xcode to 5.0.1. When I try to launch an app on iOS 7.0.3 Simulator, the Simulator won't launch. The app will launch on iOS 6.1 Simulator, but the iOS 7.0.3 Simulator just gets stuck on a black screen.
我刚刚在 OSX Mavericks 上升级到 Xcode 5.0.1,并将 Xcode 升级到 5.0.1。当我尝试在 iOS 7.0.3 模拟器上启动应用程序时,模拟器无法启动。该应用程序将在 iOS 6.1 Simulator 上启动,但 iOS 7.0.3 Simulator 只会卡在黑屏上。
Anyone else have this issue? I've tried re-installing XCode as well and still get the same problem.
还有其他人有这个问题吗?我也试过重新安装 XCode,但仍然遇到同样的问题。
回答by Tamal
I'm also having same problem in Xcode 5.0.1/OS X 10.8.5. Finally, able to resolve it.
我在 Xcode 5.0.1/OS X 10.8.5 中也遇到了同样的问题。最后,能够解决它。
First clean project (Cmd+K) and then run your project the iOS 6.1 simulator. When app is running well in iOS 6.1, stop the app (Cmd+dot) in Xcode and switch to Simulator app and reset it. Then change it iOS 7.0.3 (from hardware menu) and again reset it after 2-3 min. Now you should see the iOS 7 simulator working. Doh...
首先清理项目 (Cmd+K),然后在 iOS 6.1 模拟器中运行您的项目。当应用程序在 iOS 6.1 中运行良好时,在 Xcode 中停止应用程序(Cmd+dot)并切换到模拟器应用程序并重置它。然后将其更改为 iOS 7.0.3(从硬件菜单)并在 2-3 分钟后再次重置它。现在您应该可以看到 iOS 7 模拟器正在运行。嗯...
回答by vially
This is what works for me:
这对我有用:
Quit the simulator
Start the simulator manually from Xcode (Xcode -> Open Developer Tool -> iOS Simulator) and wait for it to load completely
Run the app
退出模拟器
从 Xcode (Xcode -> Open Developer Tool -> iOS Simulator) 手动启动模拟器并等待它完全加载
运行应用程序
回答by Uzair Khan
Apple just released Xcode 5.0.2 GM Seed to developers which resolves this issue as per release notes: http://adcdownload.apple.com/Developer_Tools/xcode_5.0.2_gm_seed/xcode_5.0.2_gm_seed_release_notes.pdf
Apple 刚刚向开发人员发布了 Xcode 5.0.2 GM Seed,根据发行说明解决了这个问题:http: //adcdownload.apple.com/Developer_Tools/xcode_5.0.2_gm_seed/xcode_5.0.2_gm_seed_release_notes.pdf
回答by himan
Quit the simulator and run again it worked for me.
退出模拟器并再次运行它对我有用。
回答by Nirav Bhatt
- Switch to iOS 7 in simulator using
Hardware
menu. - Then launch your project from XCode and hit
Project->Run
using any scheme which is not iOS 7. This will build it for iOS 7. - If it does not launch in iOS 7, hit Home, and repeat from step 1.
- 使用
Hardware
菜单在模拟器中切换到 iOS 7 。 - 然后从 XCode 启动您的项目并
Project->Run
使用任何非 iOS 7 的方案。这将为 iOS 7 构建它。 - 如果它没有在 iOS 7 中启动,请点击主页,然后从步骤 1 开始重复。
回答by creative_rd
Try resetting your simulator clean and build again it worked for me it might work for you as well
尝试重置你的模拟器干净并重新构建它对我有用它也可能对你有用