Xcode 9.2 不支持 iOS 11.3 需要 9.3
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/49720178/
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 not supported for iOS 11.3 by Xcode 9.2 needed 9.3
提问by alphapilgrim
Apparently, with the latest IOS update, my version of Xcode could not build due to the following error.
显然,在最新的 IOS 更新中,由于以下错误,我的 Xcode 版本无法构建。
Could not locate device support files. This iPhone 7 Plus (Model 1661, 1784, 1785, 1786) is running iOS 11.3 (15E216), which may not be supported by this version of Xcode.
找不到设备支持文件。此 iPhone 7 Plus(型号 1661、1784、1785、1786)运行的是 iOS 11.3 (15E216),此版本的 Xcode 可能不支持。
Tried to install Xcode 9.3 via this link https://developer.apple.com/download/more/. But as it turns out, my Mac OS version sees the update as an incompatible version. Running on Sierra 10.12.6
尝试通过此链接https://developer.apple.com/download/more/安装 Xcode 9.3 。但事实证明,我的 Mac OS 版本将更新视为不兼容的版本。在Sierra 10.12.6上运行
回答by kl.woon
Another option is to download the 11.3 device support at:
另一种选择是在以下位置下载 11.3 设备支持:
And don't forget to remove "(15E217)" from folder name, so it became "11.3". Restart Xcode afterwards.
并且不要忘记从文件夹名称中删除“(15E217)”,所以它变成了“11.3”。之后重新启动Xcode。
Where to paste itaccording to comment of EdwardM
根据 EdwardM 的评论将其粘贴到何处
For those that don't know where to paste the contents of the zipped file. Find your Applications icon in the dock, right-click, "Open Applications". The folder will open in Finder. Right-click Xcode > Show Package Contents. Then go to Developer > Platforms > iPhoneOS.platform > DeviceSupport
对于那些不知道在哪里粘贴压缩文件内容的人。在 Dock 中找到您的应用程序图标,右键单击“打开应用程序”。该文件夹将在 Finder 中打开。右键单击 Xcode > 显示包内容。然后去开发者 > 平台 > iPhoneOS.platform > DeviceSupport
回答by asharijuang
I have the same problem, OS Sierra trying to run iPhone SE with 10.3 using Xcode 9.2 and I don't have the resources to update to High Sierra and Xcode 9.3.
我有同样的问题,OS Sierra 尝试使用 Xcode 9.2 运行带有 10.3 的 iPhone SE,但我没有更新到 High Sierra 和 Xcode 9.3 的资源。
Solution:
解决方案:
- Find your friends who have Xcode 9.3
- Ask them to right click on Xcode, Show Package Contents then navigate to
Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.3 (15E217)
- Copy the
11.3 (15E217)
folder to your old Xcode (9.2) with the same file hierarchy
- 寻找拥有 Xcode 9.3 的朋友
- 让他们右键单击 Xcode,显示包内容,然后导航到
Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.3 (15E217)
- 将
11.3 (15E217)
文件夹复制到具有相同文件层次结构的旧 Xcode (9.2)
Now you have Xcode 9.2 with iOS 11.3.
现在您拥有带有 iOS 11.3 的 Xcode 9.2。
回答by Long Nguyen
I just give you a device support file for iOS 11.4 (15F79). which just on XCode version 9.4 (9F1027a)
我只是给你一个 iOS 11.4 (15F79)的设备支持文件。仅在 XCode 版本 9.4 (9F1027a) 上
Updated on 5 Oct 2018:
2018 年 10 月 5 日更新:
- Xcode 10.0 (10A255) - iOS 12.0 (16A366)[Updated 21 Sep: @Nik Burns confirmed that works]
- Xcode 10.1 beta 2 (10O35n) - iOS 12.1 (16B5068g)[Please give me feedback if that works]
- Xcode 10.0 (10A255) - iOS 12.0 (16A366)[9 月 21 日更新:@Nik Burns 确认有效]
- Xcode 10.1 beta 2 (10O35n) - iOS 12.1 (16B5068g)[如果可行,请给我反馈]
回答by Nicolas
I have macOS 10.12.6
我有 macOS 10.12.6
You can download Xcode 9.3 from https://developer.apple.com/download/
and extract the "11.3 (15E217)" folder from it
您可以从https://developer.apple.com/download/下载 Xcode 9.3
并从中提取“ 11.3 (15E217)”文件夹
The fix really works.
修复确实有效。
回答by shenlong
please add both of "11.3 (15E216)" and "11.3 (15E217)" keep all of them inside /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
请同时添加“11.3(15E216)”和“11.3(15E217)”,将它们全部保存在/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
回答by Nikola
I recently stumbled upon the same problem, where I basically updated my iPhone X to the newest OS version, and (for reasons I will not go into) had to run the app on Xcode 9.2.
我最近偶然发现了同样的问题,我基本上将我的 iPhone X 更新到了最新的操作系统版本,并且(出于我不会介绍的原因)不得不在 Xcode 9.2 上运行该应用程序。
This thread was helpful, but there's one small caveat that even though I downloaded the newest support files from the provided Github project, and put them in the appropriate folder, I was still getting this error:
这个线程很有帮助,但有一个小警告,即使我从提供的 Github 项目下载了最新的支持文件,并将它们放在适当的文件夹中,我仍然收到此错误:
Say for example you've downloaded 11.4 (15F79) but after restarting and running again you get an error mentioning something like 11.4.1 (15G77).
举例来说,您已经下载了 11.4 (15F79),但在重新启动并再次运行后,您会收到一条错误消息,其中提到了 11.4.1 (15G77) 之类的内容。
The solution, as I wrote here, was to just rename the folder(so, rename 11.4 (15F79)
to 11.4.1 (15G77)
), restart Xcode and voila, it works!
正如我在这里写的,解决方案是重命名文件夹(因此,重命名11.4 (15F79)
为11.4.1 (15G77)
),重新启动 Xcode,瞧,它起作用了!
Hope this helps someone
希望这有助于某人
回答by UsamaAmjad
Quicker/Smaller Fix
更快/更小修复
This is probably due to outdated Xcode, if you don't want a big Xcode
update due to limited storage/time then you can manually download the required support files instead of the whole update.
这可能是由于过时的 Xcode,如果Xcode
由于存储/时间有限而不想进行大的更新,那么您可以手动下载所需的支持文件而不是整个更新。
- Download the files (depend on iOS veersion) from here
- And then paste the downloaded files in below directory
/Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- 从这里下载文件(取决于 iOS 版本)
- 然后将下载的文件粘贴到下面的目录中
/Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
回答by N.Rakesh
I have macOS 10.13.4
I downloaded Xcode 9.3
- Here you have the "11.3 (15E217)" it's work fine.
我有 macOS 10.13.4
我下载了 Xcode 9.3
- 在这里你有“11.3(15E217)”它工作正常。