简体   繁体   中英

Some simulators disappeared in Xcode7

In my project there is a list of simulators:

在此处输入图片说明

It is ok, but when I created another project there is limited number of simulators.

在此处输入图片说明

Why? How to fix this? I need there simulators for both: iOS8 and iOS9 .

Remember about two important things:

  • you have to install required simulators first:

在此处输入图片说明

As you can see there are installed simulators for 8.2 and 8.3 . It doesnt mean that they will appear in the list of simulators...

...because you have to remember about another important thing:

  • your deployment target. It means that on the list of simulators will appear only that ones which are equal or newer from deployment target you set for your app target ( not for your project ).

在此处输入图片说明

In this case when I set target to 9.0 there will be following list of simulators:

在此处输入图片说明

The same is for 8.4 because I haven't downloaded simulators for 8.4 . But once I set deployment target to 8.3 or lower the list of simulators is following:

在此处输入图片说明

The list of devices that you see in the run destinations menu is the list of devices that the current target is compatible with.

Your new iOS app target likely has a deployment target version of 9.0, so all of the iOS 8.3 devices are not listed as available.

If you expect your app to run on older versions of iOS, you should update the deployment target (aka minimum supported version) in your project's build settings.

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