简体   繁体   中英

Xcode 5 issue with simulator versions

I have Installed Xcode 5. It was just working fine. Now it doesn't show version menu against each simulator.

在此输入图像描述

Before it was displaying all supported iOS versions next to simulator menu. I want to test my app on different iOS version, how can I change the simulator version.

Just to add, you can actually download old versions of the simulator with Xcode5 itself - just go to preferences and you'll find them under Downloads:.......

在此输入图像描述

No need to download the zip if you only wanted to change the deployment target.

Here are some screenshots.

在此输入图像描述

在此输入图像描述

在Xcode 5中,首选项 - >下载 - >组件来安装其他模拟器(如果您还没有这样做)。

Possible issues:

  • Set the deployment target. If the target is set to iOS 7.0 then you cannot choose between different simulators. If the target is set to iOS 6 then you should be able to choose between the simulators.
  • Check in the Download preferences if iOS 6 Simulator is installed (you may have to re-install it after upgrading to Xcode 5).
  • Xcode on Mavericks does not support the iOS 5 Simulator anymore.
  1. Go to xcode click show package content and see if simulator sdk's are there at path "/Applications/Xcode_5.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs" if not either download them or copy paste from previous xCode from same path of old xcode

  2. Restart xCode.

  3. Check your Base SDK setting in project setting. Set to lower version and you should be able to see all possible simulator configuration.

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