Xcode 缺少支持文件 iOS 12.2 (16E227)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/55575782/
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
Xcode Missing Support Files iOS 12.2 (16E227)
提问by Johnny Rockex
My device is running iOS 12.2, but the latest Xcode version available (on the store, and directly from developer.apple, which just pushes me to the store) does not provide the support files for that iOS version, so I cannot build to devices.
我的设备运行的是 iOS 12.2,但可用的最新 Xcode 版本(在商店中,直接来自 developer.apple,它只是将我推送到商店)不提供该 iOS 版本的支持文件,因此我无法构建到设备.
Here's the error message from Xcode:
这是来自 Xcode 的错误消息:
And my Xcode build running on macOS Mojava v.10.14:
我的 Xcode 构建在 macOS Mojava v.10.14 上运行:
Are there any reputable other places to download a more recent Xcode beta from (or just the support files, in Xcode > Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport), or am I missing something here?
是否有任何信誉良好的其他地方可以从(或仅支持文件,在 Xcode > Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport 中下载更新的 Xcode 测试版),或者我在这里遗漏了什么?
回答by kapil
Download device support files from here -https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip, if your Xcode version doesn't have them. Extract the zip file and copy to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport. Rename 16E266 folder to 16E227. Restart XCode.
从这里下载设备支持文件 - https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip,如果您的 Xcode 版本没有它们。解压 zip 文件并复制到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport。将 16E266 文件夹重命名为 16E227。重新启动 XCode。
As pointed out by @DavidH, this worked for me.
正如@DavidH 所指出的,这对我有用。
回答by Manuel Sansone
After copying and renaming the folder, if problem persists, restart the Mac.
复制并重命名文件夹后,如果问题仍然存在,请重新启动 Mac。
回答by Carlos Leonardo Camilo Vargas
I had the same issue. I was about to download the https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zipand paste it in the /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupportpath but I think it's not the normal flow. Later, I remembered that I almost never download the Operating System updates. My solution was:
我遇到过同样的问题。我正要下载https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip并将其粘贴到/Applications/Xcode.app/Contents/Developer/ Platforms/iPhoneOS.platform/DeviceSupport路径,但我认为这不是正常流程。后来,我想起我几乎从不下载操作系统更新。我的解决方案是:
- Go to about this mac-> Software Update(Operating System Updates).
- After downloading and installing update you'll be able to Update Xcode.
- Go to App Store-> search xcodeand you could update Xcode successful.
- 转到关于此 mac->软件更新(操作系统更新)。
- 下载并安装更新后,您将能够更新 Xcode。
- 转到App Store-> 搜索xcode,您可以成功更新 Xcode。
In conclusion:I needed to install updates for my macOS Operating System.
结论:我需要为我的 macOS 操作系统安装更新。
回答by Tai JinYuan
Here is source file.
这是源文件。
After copy downloaded folder to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport, restart Xcodethen it will works. Hope this will help you.
将下载的文件夹复制到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 后,重启 Xcode 即可。希望这会帮助你。
回答by TimBigDev
Need iOS 13.4 support in XCode 11.3.1 ?
XCode 11.3.1 需要 iOS 13.4 支持吗?
You updated your iPhone iOS to 13.4 ?
您将 iPhone iOS 更新到 13.4 了吗?
You don't want to upgrade your OSX to Catalina in order to get the latest XCode 11.4?
您不想将 OSX 升级到 Catalina 以获得最新的 XCode 11.4?
Download the XCode release that does support your device from here: https://developer.apple.com/download/more
从这里下载支持您的设备的 XCode 版本:https: //developer.apple.com/download/more
Extract the zip file, right click on Xcode.app, click on "Show Package Contents"
解压zip文件,右键点击Xcode.app,点击“Show Package Contents”
Go into folder: Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
进入文件夹:Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
Find your iOS version you need support for and copy that folder to your existing Xcode.app within the same folder.
找到您需要支持的 iOS 版本,并将该文件夹复制到同一文件夹中的现有 Xcode.app。
DONE.
完毕。
This process will work for new and old versions of iOS & XCode.
此过程适用于 iOS 和 XCode 的新旧版本。
回答by Dilip Mishra
I download the Developer disk image for iOS 13.0 from here and added support file in Xcode Version 10.3 (10G8).
我从这里下载了 iOS 13.0 的开发者磁盘映像,并在 Xcode 版本 10.3 (10G8) 中添加了支持文件。
https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/13.0.zip
https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/13.0.zip
Follow Those steps. 1) Unzipped downloaded file
按照那些步骤。1) 解压下载的文件
2) Right click on Xcode and click on Show Package Content.
2) 右键单击 Xcode,然后单击“显示包内容”。
3) Then paste your file on path.
3)然后将您的文件粘贴到路径上。
Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport
目录 -> 开发者 -> 平台 -> iPhoneOS.platforms -> DeviceSupport
Then Restart Your Xcode. It works for me.
然后重启你的 Xcode。这个对我有用。
回答by Ulrik Peter
- Download iOS developer disk image 12.2 and unzip it
- Go Application>Xcode>Contents>Developer>Platforms>iPhoneOS.Platform>DeviceSupport paste your folder there.
- Restart your Xcode.
- 下载iOS开发者磁盘镜像12.2并解压
- 转到 Application>Xcode>Contents>Developer>Platforms>iPhoneOS.Platform>DeviceSupport 将您的文件夹粘贴到那里。
- 重新启动您的 Xcode。