Xcode 6 doesn't show iOS 7.1 simulators

人走茶凉 提交于 2021-02-16 10:32:40

问题


I have the Xcode Version 6.0.1 (6A317) on Mac OS X 10.9.5 with all iOS 8 simulators. I have also downloaded the iOS 7.1 simulators.

I am developing an app for iOS 8 and iOS 7.

The problem I encounter is that Xcode 6 doesn't show the iOS 7.1 simulators in the devices menu. At some point it did show them but on my newly created Xcode 6 project it does not.

I was looking at some stackoverflow solutions.I have addded the iOS 7.1 simulators Window - Devices - SIMULATORS. They are also checked with "Show in the Run Destionations Menu",however they are not shown.

I found a workaround by setting the Project and Target Deployment Target to 7.1. However, this is a stupid solution since for every test I need to manually switch them forth and back 7.1-8.0

This is my first ipad app and it worked perfectly under Xcode 5.1.1. iOS 7 and iOS 8 (CREATED UNDER Xcode 5.1.1.). Now I have created a project in Xcode 6.0.1. and the project doesn't have the simulators showing correctly and 95% of the app doesn't work.

I am new to iOS development but I suppose that this is a bug, but I am unsure. Please help.


回答1:


The deployment target is the minimum OS version you intend to support.

As you stated, you need to set the deployment target to 7.1 in order to see the 7.1 simulators. If your deployment target is 8.0, the 7.1 simulators will not be available in the run destinations menu. This is the correct behavior because you can't run on iOS 7.1 if your deployment target is 8.0.




回答2:


I already had deployment target 7.0 and simulator still wasn't available for 7.1.

I fixed the issue though by going into Xcode preferences, selected Downloads and re-downled the missing 7.1 simulators under 'Components'. Although I previously had 7.1 simulator, the Xcode 6 upgrade had seemed to remove them.

enter image description here



来源:https://stackoverflow.com/questions/26377628/xcode-6-doesnt-show-ios-7-1-simulators

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!