如何在Xcode 6.1中安装iOS 7.0和iOS 8.0模拟器? [英] How to install iOS 7.0 and iOS 8.0 Simulators in Xcode 6.1?

查看:171
本文介绍了如何在Xcode 6.1中安装iOS 7.0和iOS 8.0模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在iOS 7.0和iOS 8.0上测试我的应用。我将iPhone5升级到iOS 8.1。现在,在这些操作系统中测试我的应用程序的唯一方法是使用模拟器。但在将我的Xcode升级到6.1之后。我无法看到iOS 7.0和8.0模拟器。我需要在Xcode 6.1中安装这些模拟器。有没有办法在Xcode 6.1中安装这些模拟器?

I want to test my app on both iOS 7.0 and iOS 8.0. I upgraded my iPhone5 to iOS 8.1. Now the only way to test my app in these OS' are using Simulator. But after upgrading my Xcode to 6.1. I'm unable to see iOS 7.0 and 8.0 Simulators. I need to install these simulators in Xcode 6.1. Is there any way to install these Simulators in Xcode 6.1?

注意:

1)我复制粘贴这些模拟器SDK从旧的Xcode到Xcode 6.1的内容但它没有用。

1) I copy pasted these simulator SDKs from old Xcode to the Xcode 6.1's contents but it didn't work.

2)我尝试从Xcode> Preferences> Downloads安装这些但是这些没有' t显示在列表中。

2) I tried installing these from Xcode > Preferences > Downloads but these doesn't show up in the list.

3)我从Xcode的Window> Devices中删除了所有设备,然后重新启动了Xcode并重新添加它们,但这些模拟器没有显示。

3) I removed all the Devices from Xcode's Window > Devices and then restarted the Xcode and re-added them but these simulators doesn't show up.

推荐答案

Xcode 6.0.x和6.1.x仅支持iOS 7.0及更高版本的模拟器。 Xcode 6.2及更高版本仅支持iOS 7.1及更高版本的模拟器。

Only iOS 7.0 and later simulators are supported on Xcode 6.0.x and 6.1.x. Only iOS 7.1 and later simulators are supported on Xcode 6.2 and greater.

较旧的模拟器运行时与新的CoreSimulator架构不兼容。如果你想运行iOS 6.x模拟器,你需要安装Xcode 5.1.x.

The older simulators runtimes are not compatible with the new CoreSimulator architecture. You need to install Xcode 5.1.x if you want to run iOS 6.x simulators.

iOS 7.0模拟器不适用于OSX Yosemite,所以你需要成为在OS X Mavericks上如果你想运行iOS 7.0模拟器。

The iOS 7.0 simulator does not work on OSX Yosemite, so you need to be on OS X Mavericks if you want to run the iOS 7.0 simulator.

iOS 8.0模拟器不能用作DLC。它仅在Xcode 6.0中受支持。如果您真的想在较​​新版本的Xcode中使用它,可以尝试将Xhoo 6.0中的iPhoenSimulator8.0.sdk和iOS 8.0.simruntime复制到Xcode 6.1中,但如上所述,这不受支持。

The iOS 8.0 simulator is not available as DLC. It is only supported in Xcode 6.0. If you really want to use it with newer versions of Xcode, you can try copying the iPhoenSimulator8.0.sdk and iOS 8.0.simruntime from Xcode 6.0 into Xcode 6.1, but as stated, this is not supported.

请参阅:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles / runtimes / iOS 8.0.simruntime

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS 8.0.simruntime

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk

这篇关于如何在Xcode 6.1中安装iOS 7.0和iOS 8.0模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆