有没有办法为 Xcode 获取 iOS 11 的开发者磁盘映像?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44397402/
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
Is there any way of obtaining Developer Disk Image of iOS 11 for Xcode?
提问by robertsan
Currently I'm using macOS Sierra with Xcode 8 installed. I just updated my device to iOS 11, which is my main development device. I can't build the apps I'm working on anymore because Xcode 8 has no iOS 11 Development Disk Image. Is there any way of obtaining the image (without installing Xcode 9) or I'll have to go back to iOS 10 in order to build to my device?
目前我正在使用安装了 Xcode 8 的 macOS Sierra。我刚刚将我的设备更新到 iOS 11,这是我的主要开发设备。我无法再构建我正在开发的应用程序,因为 Xcode 8 没有 iOS 11 开发磁盘映像。有没有办法获取图像(无需安装 Xcode 9),或者我必须回到 iOS 10 才能构建到我的设备上?
回答by Muhammad Noman
回答by Alec O
This may solve your problem: https://stackoverflow.com/a/44383054/4146322
这可能会解决您的问题:https: //stackoverflow.com/a/44383054/4146322
On another note, it is nearly impossible to revert to iOS 10 once you install iOS 11. Apple has incorporated checks for this at a deep level to prevent people installing older and possibly unsecured versions. You can read up on this at Apple's iOS10 Security Documentationin the second paragraph of page 6.
另一方面,一旦你安装了 iOS 11,就几乎不可能恢复到 iOS 10。Apple 已经在深层次上进行了检查,以防止人们安装较旧的和可能不安全的版本。您可以在第 6 页的第二段Apple 的iOS10 安全文档中阅读相关内容。
回答by Krunal
Follow these steps to get your Xcode 8, work with iOS 11.
按照以下步骤获取适用于 iOS 11 的 Xcode 8。
- DownloadXcode 9 Image File with iOS 11 beta
- Copy iOS 11.0 Image File to following location in your system:
~/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
- 使用 iOS 11 测试版下载Xcode 9 图像文件
- 将 iOS 11.0 图像文件复制到系统中的以下位置:
~/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
or
或者
- Create Symbolic Link Using:
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5278f\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
- Restart Xcode.
- 创建符号链接使用:
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5278f\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
- 重新启动Xcode。
回答by Mayank Vagadiya
Download developer disk image from Here.and copy that two folders to below mentioned path.
从这里下载开发者磁盘映像。并将这两个文件夹复制到下面提到的路径。
First open spotlight search and go to your xcode
and from right click ->
Show package content Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
首先打开 Spotlight 搜索并xcode
从右键单击 -> 显示包内容内容 -> 开发人员 -> 平台 -> iPhoneOS.platform -> DeviceSupport
Skip ads from above link and then you can download
跳过上面链接的广告,然后您可以下载