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.
Anyone else have this issue? I've tried re-installing XCode as well and still get the same problem.
I'm also having same problem in Xcode 5.0.1/OS X 10.8.5. Finally, able to resolve it.
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...
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
- 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.
Quit the simulator and run again it worked for me.
Try resetting your simulator clean and build again it worked for me it might work for you as well
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
来源:https://stackoverflow.com/questions/19543250/xcode-5-0-1-ios-7-0-3-simulator-not-launching