简体   繁体   English

Xcode 7.3.1 支持 iOS 10

[英]Xcode 7.3.1 with iOS 10 support

Now I have an app based on Xcode 7.3.1 which runs fine.现在我有一个基于 Xcode 7.3.1 的应用程序,它运行良好。 But one problem happened when I want to install the app to an iOS 10 device.但是当我想将该应用程序安装到 iOS 10 设备时出现了一个问题。 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/所以我找到了一个解决方案: 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".但是,“/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport”中没有 10.0 文件夹。 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所以我找到了一种简单的方法(看起来像)来安装 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?问题是我怎样才能只下载 10.0 文件夹而不是安装 Xcode 8 并创建链接或复制/粘贴到 Xcode 7.3.1 中? Thanks in advance of any other solutions.提前感谢任何其他解决方案。

I have that uploaded on Dropbox我已经上传到 Dropbox

iOS 10.0 iOS 10.0
here 这里

iOS 10.1 iOS 10.1
here 这里

iOS 10.2 iOS 10.2
here 这里

iOS 10.3 iOS 10.3
here 这里

iOS 11.0 iOS 11.0
here 这里

iOS 11.1 iOS 11.1
here 这里

iOS 11.2 iOS 11.2
here 这里

iOS 11.3 iOS 11.3
here 这里

iOS 11.4 iOS 11.4
here 这里

iOS 12.0 iOS 12.0
here 这里

iOS 12.1 iOS 12.1
here 这里

iOS 12.2 iOS 12.2
here 这里

iOS 13.0 iOS 13.0
here这里

iOS 13.1 iOS 13.1
here这里

iOS 13.5 iOS 13.5
here这里

iOS 13.6 iOS 13.6
here这里

NOTE: Swift 2.3 support is not available from Xcode 8.3 + versions注意: Xcode 8.3 + 版本不支持Swift 2.3

Go to your Applications -> Xcode 7.x version.转到您的应用程序 -> Xcode 7.x 版本。
Right Click it and click on Show Package Contents and navigate to the path below :-右键单击它并单击“显示包内容”并导航到以下路径:-

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

And paste the unzipped folder (iOS 10.0) at the path mentioned above.并将解压后的文件夹(iOS 10.0)粘贴到上述路径中。 It will look like this.它看起来像这样。

在此处输入图片说明

In the Device Support Folder for Xcode 7.3.1 version you currently will be having folders upto 9.3 only.在 Xcode 7.3.1 版本的设备支持文件夹中,您当前将拥有最多 9.3 的文件夹。 Simply paste this iOS 10 folder there.只需将这个 iOS 10 文件夹粘贴到那里。

Finally, Quit and Restart your Xcode and plug in your iOS 10 Device.最后,退出并重新启动您的 Xcode 并插入您的 iOS 10 设备。

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.您将被重定向到“DeviceSupport”文件夹。
  • Now, Download folder from below link and unzipped it现在,从下面的链接下载文件夹并解压缩

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.将该文件夹复制并粘贴到“DeviceSupport”文件夹中。
  • Restart XCode and enjoy :)重新启动 XCode 并享受 :)

You can download iOS 11 official 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/

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

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