简体   繁体   中英

Simulator is not available error (Xcode 6.1)

I am about to upload the latest version of my app to the App Store, however up until this point I haven't done a whole lot of testing on iOS 7.

When I go to use the simulator, I am getting the error:

iPhone 4S is not available: Please select a different device and try again.

My deployment target is set correctly to 7.0.

Has anyone experienced this error? Any solutions?

错误的屏幕截图

Make sure you have the iOS 7 simulators installed. Navigate to Xcode -> Preferences -> Downloads -> Components and make sure the 7.0 and/or 7.1 simulators are downloaded. If there are check boxes next to each simulator, click "Check and install now" to see if any simulators need to be re-downloaded.

For those running Yosemite

The earliest simulator runtime supported on Yosemite is 7.1.

In XCode, from the menu, select: Xcode -> Open Developer Tool -> iOS Simulator

When sim is open from the menu, select: Hardware -> Device -> Manage Devices...

Click the + button, bottom left and add the devices/OSes you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM