问题
I need to do some testing on an iOS 7.0.3 Simulator, but when I go to Preferences > Downloads in Xcode (6.0.1) there is no iOS 7.0 Simulator under the Components section.
Could it be because I am running Yosemite? I've heard of Mavericks machines losing support for iOS 6.0, but couldn't find any definitive answer on whether Yosemite has removed support for 7.0 simulators.
回答1:
It's because you're on Yosemite. It doesn't support 7.0 anymore. Had the same issue.
回答2:
XCode 6.1 in Yosemite starts with 7.1, if you need to test older iOS versions you can still install XCode 5.X from Apple's developer downloads site using your developer account. You can have both versions installed in the same machine.
回答3:
Open iOS Simulator is at
/Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app
.Go to Hardware > Devices > Manage Devices
Add a simulator -> Download more simulators > Download iOS 7.1 Simulator
回答4:
You can just copy simulator and framework from previous versions of Xcode. I use this method when I need to compile or test
回答5:
Try this iOS Simulator -> Hardware -> Device -> Manage Devices and add / remove them as required.
来源:https://stackoverflow.com/questions/26364239/why-cant-i-see-the-ios-7-0-simulator-in-xcode-on-yosemite