Xcode 7.3.1 支持 iOS 10

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/39864771/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:23:49  来源:igfitidea点击:

Xcode 7.3.1 with iOS 10 support

iosxcode

提问by user6702783

Now I have an app based on Xcode 7.3.1 which runs fine. But one problem happened when I want to install the app to an iOS 10 device. It is said "Could not find Developer Disk Image". So I find a solution which is this: https://danielemargutti.com/solve-xcodes-could-not-find-developer-disk-image-error-how-to-run-projects-in-ios-10-device-using-xcode-7/

现在我有一个基于 Xcode 7.3.1 的应用程序,它运行良好。但是当我想将该应用程序安装到 iOS 10 设备时出现了一个问题。据说“找不到开发者磁盘映像”。所以我找到了一个解决方案:https: //danielemargutti.com/solve-xcodes-could-not-find-developer-disk-image-error-how-to-run-projects-in-ios-10-device -使用-xcode-7/

However, there is no 10.0 folder in the "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport". So I found an easy way (looks like) to install both version of 7.3.1 and 8 which is this: https://www.quora.com/What-is-the-best-advice-to-install-Xcode-8-beta-alongside-Xcode-Version-7-3-1

但是,“/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport”中没有 10.0 文件夹。所以我找到了一种简单的方法(看起来像)来安装 7.3.1 和 8 的两个版本:https: //www.quora.com/What-is-the-best-advice-to-install-Xcode- 8-beta-alongside-Xcode-Version-7-3-1

The question is how can I only download the 10.0 folder rather than install Xcode 8 and make a link or copy/paste into Xcode 7.3.1? Thanks in advance of any other solutions.

问题是我怎样才能只下载 10.0 文件夹而不是安装 Xcode 8 并创建链接或复制/粘贴到 Xcode 7.3.1 中?提前感谢任何其他解决方案。

回答by Rajan Maheshwari

I have that uploaded on Dropbox

我已将其上传到 Dropbox

iOS 10.0
here

iOS 10.0
在这里

iOS 10.1
here

iOS 10.1
在这里

iOS 10.2
here

iOS 10.2
在这里

iOS 10.3
here

iOS 10.3
在这里

iOS 11.0
here

iOS 11.0
在这里

iOS 11.1
here

iOS 11.1
在这里

iOS 11.2
here

iOS 11.2
在这里

iOS 11.3
here

iOS 11.3
在这里

iOS 11.4
here

iOS 11.4
在这里

iOS 12.0
here

iOS 12.0
在这里

iOS 12.1
here

iOS 12.1
在这里

iOS 12.2
here

iOS 12.2
在这里

iOS 13.0
here

iOS 13.0
在这里

iOS 13.1
here

iOS 13.1
在这里

NOTE:Swift 2.3support is not available from Xcode 8.3+ versions

注意:Xcode 8.3+ 版本不支持Swift 2.3

Go to your Applications -> Xcode 7.x version.
Right Click it and click on Show Package Contentsand navigate to the path below :-

转到您的应用程序 -> Xcode 7.x 版本。
右键单击它并单击“显示包内容”并导航到以下路径:-

/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

And paste the unzipped folder (iOS 10.0) at the path mentioned above. It will look like this.

并将解压后的文件夹(iOS 10.0)粘贴到上述路径中。它看起来像这样。

enter image description here

在此处输入图片说明

In the Device Support Folder for Xcode 7.3.1 version you currently will be having folders upto 9.3 only. Simply paste this iOS 10 folder there.

在 Xcode 7.3.1 版本的设备支持文件夹中,您目前将拥有最多 9.3 的文件夹。只需将这个 iOS 10 文件夹粘贴到那里。

Finally, Quit and Restartyour Xcode and plug in your iOS 10 Device.

最后,退出并重新启动您的 Xcode 并插入您的 iOS 10 设备。

回答by iAnkit

Open Finder and from its Top menu click on "Go" and then click on "Go to Folder..."

打开 Finder 并从其顶部菜单中单击“前往”,然后单击“前往文件夹...”

You'll see one prompt and there paste this below line there,

你会看到一个提示,然后在下面粘贴这一行,

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
  • You'll be redirected to "DeviceSupport" folder.
  • Now, Download folder from below link and unzipped it
  • 您将被重定向到“DeviceSupport”文件夹。
  • 现在,从下面的链接下载文件夹并解压缩

https://drive.google.com/file/d/0B_9nnatiB3jRaElIeDQzWXNzeEU/view?usp=sharing

https://drive.google.com/file/d/0B_9nnatiB3jRaElIeDQzWXNzeEU/view?usp=sharing

  • Copy and Paste that folder in "DeviceSupport" folder.
  • Restart XCode and enjoy :)
  • 将该文件夹复制并粘贴到“DeviceSupport”文件夹中。
  • 重新启动 XCode 并享受 :)

回答by ak_ninan

You can download iOS 11official developer disk image from here

你可以从这里下载iOS 11官方开发者磁盘镜像

Unzip & Paste it in

解压并粘贴进去

Applications > Right Click on Xcode > Show Package Contents and follow the below directories and restart your XCode.

应用程序 > 右键单击​​ Xcode > 显示包内容并按照以下目录重新启动您的 XCode。

/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/