简体   繁体   English

Base SDK 6.1不会在Xcode 6.0.1中显示iOS 8模拟器

[英]Base SDK 6.1 doesnt show iOS 8 simulators in Xcode 6.0.1

My app currently has a Base SDK of 6.1 我的应用程序目前有一个6.1的Base SDK

Ive put iPhoneOS6.1.sdk into: Xcode> Developer> Platforms> iPhoneOS.platform> Developer> SDKs> 我已将iPhoneOS6.1.sdk放入:Xcode>开发人员>平台> iPhoneOS.platform>开发人员> SDKs>

And it allows me to build with the base SDK set to iOS6.1 它允许我使用设置为iOS6.1的基本SDK进行构建

But unless if I have the Base SDK set to 8.0, it doesnt show me any of the simulators running iOS 7.0, 7.1 or 8.0 但除非我将Base SDK设置为8.0,否则它不会显示任何运行iOS 7.0,7.1或8.0的模拟器

Does anyone have a way of getting it to show me all the simulators even though my Base SDK is 6.1? 有没有人有办法让它向我展示所有的模拟器,即使我的Base SDK是6.1?

In Xcode 6.1 you can add simulators manually. 在Xcode 6.1中,您可以手动添加模拟器。 To do so go to Window -> Devices and press the + symbol left at the bottom. 为此,请转到窗口 - >设备,然后按下底部的+符号。

在此输入图像描述

Then you can choose a combination of device type and iOS version to create. 然后,您可以选择要创建的设备类型和iOS版本的组合。

在此输入图像描述

转到Windows - > Devices ,然后按下底角的加号并添加所需的模拟器。

Download the other available iOS simulators (7.1 , 7.0 and 6). 下载其他可用的iOS模拟器(7.1,7.0和6)。 Worked for me 为我工作

Do not copy the older SDKs into newer Xcode. 不要将较旧的SDK复制到较新的Xcode中。 That is unsupported and very likely to lead to problems. 这是不受支持的,很可能导致问题。

You should be using the latest SDK and setting the deployment target to the oldest OS you want to support. 您应该使用最新的SDK并将部署目标设置为您要支持的最旧的操作系统。 I believe most developers right now are using the 8.1 SDK (or just set it to latest) with a deployment target of either 6.1 or 7.1. 我相信大多数开发人员现在正在使用8.1 SDK(或者只是将其设置为最新版本),部署目标为6.1或7.1。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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