此 iPhone 6 运行的是 iOS 12.4.1 (16G102),此版本的 Xcode 可能不支持

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/58075427/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 11:01:50  来源:igfitidea点击:

This iPhone 6 is running iOS 12.4.1 (16G102), which may not be supported by this version of Xcode

iosiphonexcode

提问by Mayank Bhaisora

Getting the error

得到错误

This iPhone 6 is running iOS 12.4.1 (16G102), which may not be supported by this version of Xcode.

此 iPhone 6 运行的是 iOS 12.4.1 (16G102),此版本的 Xcode 可能不支持。

while trying to run the app on iPhone after updating the iPhone.

在更新 iPhone 后尝试在 iPhone 上运行该应用程序时。

I know that I can update the Xcode and System both and the issue will be resolved but I want to be able to install the apps on iPhone without updating the Xcode and MacOS.

我知道我可以同时更新 Xcode 和系统,问题将得到解决,但我希望能够在不更新 Xcode 和 MacOS 的情况下在 iPhone 上安装应用程序。

Please help.

请帮忙。

Tried nothing yet.

还没试过。

Can not share the code. No code to show here.

不能分享代码。没有代码可在此处显示。

回答by Akash Sharma

Issue:This iPhone 6 is running iOS 12.4.1 (16G102), which may not be supported by this version of Xcode.

问题:此 iPhone 6 运行的是 iOS 12.4.1 (16G102),此版本的 Xcode 可能不支持。

Resolution:

解析度:

a). If the issue is not replicated on your another device with latest Xcode version

一种)。如果问题未在您的另一台装有最新 Xcode 版本的设备上重现

We need to add the support files in the Xcode. The files can be found on a system with latest Xcode on the path -

我们需要在 Xcode 中添加支持文件。可以在路径上具有最新 Xcode 的系统上找到这些文件 -

  1. Go to Applications.
  2. Right click on Xcode, click on "Show Package Contents".
  3. Go to Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport
  4. Copy support files for the iPhone version.
  1. 转到应用程序。
  2. 右键单击 Xcode,单击“显示包内容”。
  3. 转到目录 -> 开发人员 -> 平台 -> iPhoneOS.platforms -> DeviceSupport
  4. 复制 iPhone 版本的支持文件。

Paste the file into the system in which you are facing the issue in same path as of above. Close the Xcode and run the code again to refresh the files.

将文件粘贴到您遇到问题的系统中,路径与上述相同。关闭 Xcode 并再次运行代码以刷新文件。

b). If you don't have a system with latest Xcode.

b)。如果您的系统没有最新的 Xcode。

Download the file "iOS 12.4 Developer Disk Image" from the https://github.com/xushuduo/Xcode-iOS-Developer-Disk-Image/releasesand unzip the file. Rename the folder to "12.4.1 (16G102)" and paste the file into the system in which you are facing the issue in below path:

https://github.com/xushuduo/Xcode-iOS-Developer-Disk-Image/releases下载“iOS 12.4 Developer Disk Image”文件并解压。将文件夹重命名为“12.4.1 (16G102)”并将文件粘贴到您在以下路径中遇到问题的系统中:

  1. Go to Applications.
  2. Right click on Xcode, click on "Show Package Contents".
  3. Go to Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport
  1. 转到应用程序。
  2. 右键单击 Xcode,单击“显示包内容”。
  3. 转到目录 -> 开发人员 -> 平台 -> iPhoneOS.platforms -> DeviceSupport

Close the Xcode and run the code again to refresh the files.

关闭 Xcode 并再次运行代码以刷新文件。

回答by Rahul Phate

You need to add device support files from this link

您需要从此链接添加设备支持文件

Follow these steps to add device support files

按照以下步骤添加设备支持文件

  1. Go into Application and right click on Xcode.app then click on show package contents

  2. Go into this path Contents/Developer/Platforms/iPhoneOS.platform/DeviceS??upport/

  3. Get device support file 12.4 from attached link. Unzip it and rename to 12.4.1(16G102) and paste renamed file to above path under device support.

  4. Restart Xcode and then run application on device.

  1. 进入应用程序并右键单击 Xcode.app 然后单击显示包内容

  2. 进入这个路径 Contents/Developer/Platforms/iPhoneOS.platform/DeviceS??upport/

  3. 从附加链接获取设备支持文件 12.4。解压并重命名为 12.4.1(16G102) 并将重命名的文件粘贴到设备支持下的上述路径。

  4. 重新启动 Xcode,然后在设备上运行应用程序。

Happy Coding..

快乐编码..

回答by Panayiotis Georgiou

I got the same problem. I tried several things but the only solution is to update your Xcode to 11.3.1. After the update I tried to run on my iPhone and worked perfectly!

我遇到了同样的问题。我尝试了几件事,但唯一的解决方案是将您的 Xcode 更新到11.3.1。更新后,我尝试在我的 iPhone 上运行并完美运行!

iphone not supported on xcode

iphone 不支持 xcode