xcode 需要 iOS 12.3.1 (16F203) 支持文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/56366563/
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
iOS 12.3.1 (16F203) Support Files needed
提问by Lance Samaria
I downloaded the newest iOS update to my iPhone 7+ and got this message
我将最新的 iOS 更新下载到我的 iPhone 7+ 并收到此消息
When it happened to me before on the 12.1 update I used this answer to add the file to the DeviceSupport folder.
在 12.1 更新之前发生在我身上时,我使用此答案将文件添加到 DeviceSupport 文件夹中。
I've been looking around on SO and I can't find anything that supports 12.3.1, the closest I found is 12.2. I tried this answerwhich led to this answerbut it didn't work for me:
我一直在环顾四周,但找不到任何支持 12.3.1 的东西,我发现的最接近的是 12.2。我尝试了这个答案,这导致了这个答案,但它对我不起作用:
Does anyone know where the 12.3.1 update is at?
有谁知道 12.3.1 更新在哪里?
回答by btrballin
I was facing this issue as well. The trick is to do the following:
我也面临这个问题。诀窍是执行以下操作:
For example you get next error:
- Create a new empty folder named
12.3.1 (16F203)
(note: replace the parenthesis value with your device code) in theDeviceSupport
folder/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
and copy-paste the contents from the next most recent support folder (12.3). - Quit XCode, unplug your device, and re-open your project in XCode.
- Once XCode loads, connect your device again and select your device as the target and run the app. At this stage, Xcode will notify that it processing the build folder. Do not cancel this process and let it do its thing.
- 在文件夹中创建一个名为
12.3.1 (16F203)
(注意:用您的设备代码替换括号值)的新空文件DeviceSupport
夹,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
然后从下一个最近的支持文件夹 (12.3) 中复制粘贴内容。 - 退出 XCode,拔掉您的设备,然后在 XCode 中重新打开您的项目。
- XCode 加载后,再次连接您的设备并选择您的设备作为目标并运行应用程序。在这个阶段,Xcode 会通知它正在处理构建文件夹。不要取消这个过程,让它做它的事情。
After completing these steps, my phone was able to run my app. Hope this works for you as well.
完成这些步骤后,我的手机就可以运行我的应用了。希望这也适用于您。
回答by Amrit Subedi
Here is the correct way of handling support errors from Xcode
. All you have to do is add support to Xcode's DeviceSupport
folder.
这是处理来自Xcode
. 您所要做的就是为Xcode's DeviceSupport
文件夹添加支持。
Open this link, extract the zip and copy the folder. https://github.com/amritsubedi/iOS-Developer-Disk-Image/blob/master/12.3.1.16E227.zip
打开此链接,解压缩 zip 并复制文件夹。https://github.com/amritsubedi/iOS-Developer-Disk-Image/blob/master/12.3.1.16E227.zip
NOTE: A new version of iOS 13.0 beta recently released. If your Xcode throws iOS 13.0 support files needed, then click the link below:
注意:最近发布了新版本的 iOS 13.0 测试版。如果您的 Xcode 抛出所需的 iOS 13.0 支持文件,请单击以下链接:
https://github.com/amritsubedi/iOS-Developer-Disk-Image/blob/master/13.0.zip
https://github.com/amritsubedi/iOS-Developer-Disk-Image/blob/master/13.0.zip
Then, go to Applications -> Xcode
. Right-click and open Show Package Contents. Then, paste to Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
and restart Xcode
.
然后,前往Applications -> Xcode
。右键单击并打开显示包内容。然后,粘贴到Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
并重新启动Xcode
。
Note: If you have a problem with any other version of iOS, then download the right iOS Developer Disk Image and paste it in the above-mentioned folder.
注意:如果您在使用任何其他版本的 iOS 时遇到问题,请下载正确的 iOS 开发者磁盘映像并将其粘贴到上述文件夹中。
This will work. Press this to visually see the path.
这将起作用。 按此键可直观地查看路径。
回答by Hemant Sharma
Resolving with old Xcode 10 or later, or problem got resolved without downloading new Xcode. The following iOS versions 12.3 and 12.3.1.
使用旧的 Xcode 10 或更高版本解决,或者问题得到解决而无需下载新的 Xcode。以下 iOS 版本 12.3 和 12.3.1。
You have to do the following steps.
您必须执行以下步骤。
- You have to download the zipped file from the link : https://drive.google.com/file/d/1we9n9vjRBK8sui8mkYUeBDqzPwwdt9i8/view
- Unzip the folder.
- You have to go following the path:
Macintosh SSD? ? ?Applications? ? ?Xcode10 ? ?Contents? ? ?Developer? ? ?Platforms? ? ?iPhoneOS.platform
?Or you go with the following steps, type the following: Open terminal.cd /Applications/Xcode10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- Press Enter and then type
open .
- The finder is open.
- Now Copy the downloaded "12.3.1 (16E227)" folder.
- Paste the folder in finder.
- Relaunch the Xcode.
- 您必须从链接下载压缩文件:https: //drive.google.com/file/d/1we9n9vjRBK8sui8mkYUeBDqzPwwdt9i8/view
- 解压文件夹。
- 您必须按照以下路径进行:
Macintosh SSD? ? ?Applications? ? ?Xcode10 ? ?Contents? ? ?Developer? ? ?Platforms? ? ?iPhoneOS.platform
? 或者按照以下步骤进行,键入以下内容: 打开终端。cd /Applications/Xcode10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- 按 Enter 然后输入
open .
- 发现者是开放的。
- 现在复制下载的“12.3.1 (16E227)”文件夹。
- 将文件夹粘贴到 finder 中。
- 重新启动 Xcode。
It works perfectly
它完美地工作
回答by MXNMike
You need to update your Xcode too, every time you do an OS update on your device, you need to update Xcode also.
您也需要更新 Xcode,每次在您的设备上进行操作系统更新时,您也需要更新 Xcode。