通过 Xcode 使用 iOS8 及更高版本的设备
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44403834/
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
Using iOS8 and later devices with Xcode
采纳答案by Mohammad Razipour
Up to iOS 12.1 is available
最高可使用 iOS 12.1
You can download DeveloperDiskImage.dmg hereor here
您可以在此处或此处下载 DeveloperDiskImage.dmg
Steps:
脚步:
1.Download Zip file and extract.
1.下载Zip文件并解压。
2.Click on "Finder" in MAC OS
2.点击MAC OS中的“Finder”
3.Click on "Go to Folder"
3.点击“前往文件夹”
4.Paste /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . Otherwise go to Applications > Right Click on Xcode > Show Package Contents and follow the directories above.
4.粘贴 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 。否则转到应用程序 > 右键单击 Xcode > 显示包内容并按照上面的目录进行操作。
5.Reboot Device + Xcode + Mac
5.重启设备+Xcode+Mac
回答by ankit
Well you have two options:
那么你有两个选择:
1)Straightforward, download Xcode 9and you are good to go.
1) 直接,下载Xcode 9就可以了。
2) You need to put DeveloperDiskImage
of iOS 11 in
2)您需要将DeveloperDiskImage
iOS 11放入
/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
and you can find this diskImage in Xcode9 at same path in case you want to continue with XCode8
如果您想继续使用 XCode8,您可以在 Xcode9 中的同一路径中找到此 diskImage
Path of iOS 11 Disk Image:
iOS 11 磁盘镜像路径:
~/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
~/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
NOTE: Xcode 9.0 requires a Mac running macOS Sierra 10.12.4 or later.
回答by George McGinn
One of the reasons why software no longer installs, such as you can't install Sierra or Xcode 9 has more to do with Apple making your computer obsolete.
软件不再安装的原因之一,例如您无法安装 Sierra 或 Xcode 9,更多地与 Apple 使您的计算机过时有关。
Here is a recent (2016 Addition to machines no longer supported by Apple), and there are so surprises there.
这是最近的(2016 年 Apple 不再支持的机器的补充),那里有很多惊喜。
I have a perfectly running iMac Early 2008, and 2 years ago it was placed on the obsolete list. I can no longer update certain programs, such as install Sierra or Xcode 9.2.
我有一台完美运行的 iMac 2008 年初,2 年前它被列入过时列表。我无法再更新某些程序,例如安装 Sierra 或 Xcode 9.2。
There are some very disgruntled people who purchased MacBooks and Apple made them obsolete without even introducing an upgraded machine to replace it.
有一些非常不满的人购买了 MacBook,而 Apple 甚至没有推出升级的机器来取代它,就让它们过时了。
Now, if I want to have my Apps run on the new iOS 11 OS, I need to replace a perfectly good and working machine. That is not right.
现在,如果我想让我的应用程序在新的 iOS 11 操作系统上运行,我需要更换一台完美且工作正常的机器。那是不对的。
回答by u.gen
You can't run ios 11 on Xcode 8.2
你不能在 Xcode 8.2 上运行 ios 11
You need Xcode 9 beta
你需要 Xcode 9 测试版
https://developer.apple.com/download/
https://developer.apple.com/download/
Xcode 9 beta requires a Mac running macOS 10.12.4 or later. Xcode 9 beta includes SDKs for iOS 11, watchOS 4, macOS 10.13, and tvOS 11
Xcode 9 beta 需要运行 macOS 10.12.4 或更高版本的 Mac。Xcode 9 beta 包括适用于 iOS 11、watchOS 4、macOS 10.13 和 tvOS 11 的 SDK
.
.