如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

时间:2021-11-28 20:54:05

Hi, I know there are multiple posts on * about this error (but none for the new iPhone X): 如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件 Could not locate device support files.

你好,我知道*上有很多关于这个错误的帖子(但是没有一个是关于新的iPhone X的):无法定位设备支持文件。

This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 11.1 (15B93), which may not be supported by this version of Xcode.

这个iPhone X(型号为A1865, A1901, A1902, A1903)运行的是ios11.1 (15B93),这个版本的Xcode可能不支持这个版本。

I'm running the latest version of Xcode(Beta 9.2 9C32c) which doesn't support the iPhone X (iOS 11.1). The problem is it's a brand new iPhone, and there are no older Configuration Files to do the switch talked in most of the solved posts.

我正在运行最新版本的Xcode(Beta 9.2 9C32c),它不支持iPhone X (iOS 11.1)。问题是,这是一款全新的iPhone,而且在大多数已解决的帖子中,没有旧的配置文件可以进行切换。

Are there any other solution to this issue since downloading the latest version of Xcode is already what I'm running, and finding the Configuration Files to do the switch seems unlikely right now? Does anyone have those Configuration Files or know how to edit them to trick Xcode?

既然下载了最新版本的Xcode已经是我正在运行的,并且找到了配置文件来完成这个切换,那么还有其他的解决方案吗?有没有人有这些配置文件,或者知道如何编辑它们来欺骗Xcode?

4 个解决方案

#1


13  

I had the same issue with my iPhone 8, Xcode Beta 9.2 did not support my version of iOS 11.1.

我的iPhone 8也有同样的问题,Xcode Beta 9.2不支持ios11.1版本。

However Xcode 9.1 does support my version of iOS 11.1

但是Xcode 9.1支持我的iOS 11.1版本

#2


5  

This error can be fixed with 2 ways.

这个错误可以用两种方法修复。

1.You need to keep updated with latest XCode versions.

1。您需要使用最新的XCode版本进行更新。

2.You can fix it without updating to latest XCode, in this you just need to update device support file,

2。你不需要更新到最新的XCode就可以修复它,在这里你只需要更新设备支持文件,

To update device support file just follow the steps,

要更新设备支持文件,只需执行以下步骤,

You can find the Device support file and update it with the below path details,

您可以找到设备支持文件并使用以下路径细节对其进行更新,

Path-/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceS‌​upport/11.1

路径- /应用程序/ Xcode9.app /内容/开发/平台/ iPhoneOS.platform /设备‌upport / 11.1

You can download device support file from this links

您可以从这个链接下载设备支持文件

#3


5  

Answer: Xcode: Could not locate device support files

Well, I found non of the answers logged out here aren't complete and sustainable. So here we go.

好吧,我发现在这里登出的答案并不完整,而且是可持续的。所以我们走。

Most importantly don't waste your time and internet bandwidth downloading Xcode just to resolve this issue which you can do within few MBs and little bit of OS know-how!!!

Step 1:
Following GitHub Repository seems to be up to date with all the required Support Files which are helpful to resolve. And it seems like this repository gets updated quicker as possible. Check out it for yourself and you are halfway done.

步骤1:遵循GitHub存储库之后,似乎所有需要的支持文件都是最新的,这些文件有助于解决问题。看起来这个存储库更新得越快越好。你自己去看看,你已经完成了一半。

https://github.com/filsv/iPhoneOSDeviceSupport

https://github.com/filsv/iPhoneOSDeviceSupport

Step 2:
Select and download the Support files which are missing for your Xcode, which you can get the clue out of the above alert message. In my case I was informed to download 11.4 (15FCA...something). So I went and downloaded the latest iOS Support files:

步骤2:选择并下载Xcode缺少的支持文件,您可以从上面的警告消息中获得线索。在我的情况下,我被告知下载11.4 (15FCA…某样东西)。于是我下载了最新的iOS支持文件:

Which were under the path of iPhoneOSDeviceSupport/11.4 (15F5061c)/

在iPhoneOSDeviceSupport/11.4 (15F5061c)/

DeveloperDiskImage.dmg
DeveloperDiskImage.dmg.signature

如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

Step 3:
And then place them inside the DeviceSupport folder which is in a related path to your Xcode installation. In my case, I've installed Xcode 9.2 so my path to DeviceSupport looks like as follows:

步骤3:然后将它们放在DeviceSupport文件夹中,该文件夹位于Xcode安装的相关路径中。在我的例子中,我安装了Xcode 9.2,所以我到DeviceSupport的路径如下所示:

/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Step 4
Place the two files you downloaded in a folder named 11.4 (15F5061c).
Clue: In your case make sure to name it after the specific iOS version you downloaded the files.

步骤4将下载的两个文件放在名为11.4 (15F5061c)的文件夹中。提示:在你的例子中,一定要在你下载文件的特定iOS版本之后命名它。

Step 5:
Quit Xcode app if you had been already using it previously. Re-open it and try to run your app on your iPhone (or in iDevice of your previous attempt). Xcode will first warn you saying something like following:

步骤5:如果你之前已经使用过Xcode应用,那就退出它。重新打开它,试着在你的iPhone上运行你的应用程序(或者在你之前的尝试中使用iDevice)。Xcode首先会警告您以下内容:

Preparing debugger support for Randika's iPhone 6s

为Randika的iPhone 6s准备调试器支持

如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

Soon after it's completed (probably after several attempts that you may have to try reconnecting your iPhone to Xcode), you would be able to successfully run your app on your preferred device.

在它完成后不久(可能经过多次尝试,您可能不得不尝试重新连接您的iPhone到Xcode),您将能够在您喜欢的设备上成功运行您的应用程序。

How could you find this path? Go to your Applications folder, locate Xcode-x.x.app file, right click on the Xcode app and select "Show package contents" as follows:

你怎么能找到这条路呢?转到应用程序文件夹,找到xcode .x。app文件,右键点击Xcode app,选择“Show package contents”如下:

如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

And then navigate to the DeviceSupport folder within the Finder App as follows:

然后导航到Finder程序中的DeviceSupport文件夹,如下所示:

如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

Hope this would be helpful to any of you!

希望这对大家都有帮助!

Cheers!

干杯!

#4


0  

I was able to run it, by first using BuddyBuild.com to send me a tester app through email, that I downloaded successfully. After that, I was able to build the app.

我能够运行它,首先使用BuddyBuild.com通过电子邮件向我发送一个测试应用,我成功下载了这个应用。之后,我就可以构建这个应用了。

#1


13  

I had the same issue with my iPhone 8, Xcode Beta 9.2 did not support my version of iOS 11.1.

我的iPhone 8也有同样的问题,Xcode Beta 9.2不支持ios11.1版本。

However Xcode 9.1 does support my version of iOS 11.1

但是Xcode 9.1支持我的iOS 11.1版本

#2


5  

This error can be fixed with 2 ways.

这个错误可以用两种方法修复。

1.You need to keep updated with latest XCode versions.

1。您需要使用最新的XCode版本进行更新。

2.You can fix it without updating to latest XCode, in this you just need to update device support file,

2。你不需要更新到最新的XCode就可以修复它,在这里你只需要更新设备支持文件,

To update device support file just follow the steps,

要更新设备支持文件,只需执行以下步骤,

You can find the Device support file and update it with the below path details,

您可以找到设备支持文件并使用以下路径细节对其进行更新,

Path-/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceS‌​upport/11.1

路径- /应用程序/ Xcode9.app /内容/开发/平台/ iPhoneOS.platform /设备‌upport / 11.1

You can download device support file from this links

您可以从这个链接下载设备支持文件

#3


5  

Answer: Xcode: Could not locate device support files

Well, I found non of the answers logged out here aren't complete and sustainable. So here we go.

好吧,我发现在这里登出的答案并不完整,而且是可持续的。所以我们走。

Most importantly don't waste your time and internet bandwidth downloading Xcode just to resolve this issue which you can do within few MBs and little bit of OS know-how!!!

Step 1:
Following GitHub Repository seems to be up to date with all the required Support Files which are helpful to resolve. And it seems like this repository gets updated quicker as possible. Check out it for yourself and you are halfway done.

步骤1:遵循GitHub存储库之后,似乎所有需要的支持文件都是最新的,这些文件有助于解决问题。看起来这个存储库更新得越快越好。你自己去看看,你已经完成了一半。

https://github.com/filsv/iPhoneOSDeviceSupport

https://github.com/filsv/iPhoneOSDeviceSupport

Step 2:
Select and download the Support files which are missing for your Xcode, which you can get the clue out of the above alert message. In my case I was informed to download 11.4 (15FCA...something). So I went and downloaded the latest iOS Support files:

步骤2:选择并下载Xcode缺少的支持文件,您可以从上面的警告消息中获得线索。在我的情况下,我被告知下载11.4 (15FCA…某样东西)。于是我下载了最新的iOS支持文件:

Which were under the path of iPhoneOSDeviceSupport/11.4 (15F5061c)/

在iPhoneOSDeviceSupport/11.4 (15F5061c)/

DeveloperDiskImage.dmg
DeveloperDiskImage.dmg.signature

如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

Step 3:
And then place them inside the DeviceSupport folder which is in a related path to your Xcode installation. In my case, I've installed Xcode 9.2 so my path to DeviceSupport looks like as follows:

步骤3:然后将它们放在DeviceSupport文件夹中,该文件夹位于Xcode安装的相关路径中。在我的例子中,我安装了Xcode 9.2,所以我到DeviceSupport的路径如下所示:

/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Step 4
Place the two files you downloaded in a folder named 11.4 (15F5061c).
Clue: In your case make sure to name it after the specific iOS version you downloaded the files.

步骤4将下载的两个文件放在名为11.4 (15F5061c)的文件夹中。提示:在你的例子中,一定要在你下载文件的特定iOS版本之后命名它。

Step 5:
Quit Xcode app if you had been already using it previously. Re-open it and try to run your app on your iPhone (or in iDevice of your previous attempt). Xcode will first warn you saying something like following:

步骤5:如果你之前已经使用过Xcode应用,那就退出它。重新打开它,试着在你的iPhone上运行你的应用程序(或者在你之前的尝试中使用iDevice)。Xcode首先会警告您以下内容:

Preparing debugger support for Randika's iPhone 6s

为Randika的iPhone 6s准备调试器支持

如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

Soon after it's completed (probably after several attempts that you may have to try reconnecting your iPhone to Xcode), you would be able to successfully run your app on your preferred device.

在它完成后不久(可能经过多次尝试,您可能不得不尝试重新连接您的iPhone到Xcode),您将能够在您喜欢的设备上成功运行您的应用程序。

How could you find this path? Go to your Applications folder, locate Xcode-x.x.app file, right click on the Xcode app and select "Show package contents" as follows:

你怎么能找到这条路呢?转到应用程序文件夹,找到xcode .x。app文件,右键点击Xcode app,选择“Show package contents”如下:

如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

And then navigate to the DeviceSupport folder within the Finder App as follows:

然后导航到Finder程序中的DeviceSupport文件夹,如下所示:

如何修复Xcode错误:使用Xcode Beta (9.2 9C32c)无法在iPhone X(11.1)上定位设备支持文件

Hope this would be helpful to any of you!

希望这对大家都有帮助!

Cheers!

干杯!

#4


0  

I was able to run it, by first using BuddyBuild.com to send me a tester app through email, that I downloaded successfully. After that, I was able to build the app.

我能够运行它,首先使用BuddyBuild.com通过电子邮件向我发送一个测试应用,我成功下载了这个应用。之后,我就可以构建这个应用了。