gpt4 book ai didi

Xcode 13.2.1 iOS 16.0 Device Support Files Not Working(Xcode 13.2.1 iOS 16.0设备支持文件不工作)

转载 作者:bug小助手 更新时间:2023-10-24 18:35:11 27 4
gpt4 key购买 nike



Today updated my iPhone to iOS 16.0, had device support files for 16.0 installed from known depository on GitHub (i.e. https://github.com/iGhibli/iOS-DeviceSupport), and then tried to build from Xcode 13.2.1, but still no support for iOS 16.0. Previously, the trick was working with 15.5 and 15.6, but not today with 16.0. Is there something wrong with 16.0 files? They seem to be about 3 month old. Have anyone seen this issue and found the solution? Thanks!

今天我把我的苹果手机更新到了iOS16.0,从GitHub上的已知存放处安装了16.0的设备支持文件(即https://github.com/iGhibli/iOS-DeviceSupport),),然后尝试从Xcode13.2.1构建,但仍然不支持iOS16.0。以前,这一技巧适用于15.5和15.6,但今天不适用于16.0。16.0文件有什么问题吗?它们看起来大约3个月大。有没有人看到这个问题并找到解决方案?谢谢!


更多回答
优秀答案推荐

Issue resolved, thanks to XCode does not show my iPhone as a destination

问题解决了,多亏了XCode没有将我的iPhone显示为目的地


Apparently, starting with iOS 16.0, the device needs to be placed in the Developer Mode. Summarizing the steps that were working for iOS 15.X, if you are using an old Xcode version, i.e. 13.2.1, here is an algorithm:

显然,从iOS 16.0开始,该设备需要设置为开发者模式。总结适用于iOS 15.X的步骤,如果您使用的是旧的Xcode版本,即13.2.1,则以下是一个算法:



  1. Enable Developer Mode on your device as advised here: XCode does not show my iPhone as a destination


If your Xcode version is current enough, that's all you should need, skip to step 4.

如果您的Xcode版本足够新,这是您应该需要的全部内容,请跳到步骤4。



  1. Download iOS 16.0 device support files. One of the resources could be found here: https://github.com/iGhibli/iOS-DeviceSupport



  2. Unzip the files and place the content into one of the following two destinations:




Variant1: Applications >> Xcode >> (via right click) Show Package Contents >> Contents >> Developer >> Platforms >> iPhoneOS.platform >> DeviceSupport

变量1:应用程序>>Xcode>>(通过右键单击)显示包内容>>内容>>开发人员>>平台>>iPhoneOS。平台>>设备支持


Variant2: YourUserName >> Library >> Developer >> Xcode >> iOS DeviceSupport

变量2:您的用户名>>库>>开发人员>>Xcode>>iOS设备支持


The choice of a variant is up to you, basically whichever works (in my case it is Variant2).

变体的选择基本上取决于您,无论哪个有效(在我的例子中,它是Variant2)。


Additionally, make sure the name of the copied folder is "16.0", not simply "16".

此外,确保复制的文件夹的名称是“16.0”,而不是简单的“16”。



  1. Start Xcode, now it should be ready to build to your iPhone.



I'd strongly advise against downloading binaries from unverified Github repo. My suggestion would be to download Xcode 14 from apple , unpack it then copy the device support folders (16.0, 16.1, 16.4, etc..) you need into your Xcode 13.2 installation:

我强烈建议不要从未经验证的Github repo下载二进制文件。我的建议是从苹果下载Xcode 14,解压缩它,然后复制设备支持文件夹(16.0,16.1,16.4等)。安装Xcode 13.2时需要用到:


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

I couldn't find device support for 16.6 but so far it looks like cloning 16.4 and renaming it to 16.6 works too. It should be sufficient enough for deploying your app on device. Debugging is entirely broken though but then you could perhaps debug on iOS 15 device, that should work.

我找不到对16.6的设备支持,但到目前为止,它看起来像是克隆了16.4,并将其重命名为16.6 Works。它应该足以在设备上部署您的应用程序。虽然调试完全中断了,但您可以在iOS 15设备上进行调试,这应该可以工作。


更多回答

Initially I did not see the "Development Mode" option on my device. Research indicates that you need to give iOS 16 a hint that you want to use the device for development, otherwise the OS will not expose the option to protect the user from harm 👀. One way how to achieve this apparently is to sideload an app onto the device, but this was unacceptable for me. So what I did was to manually create a Development Provisioning Profile on developer.apple.com and install that (via Xcode) on the device. With the profile installed iOS 16 immediately started to show the Development Mode option.

起初,我没有在我的设备上看到“开发模式”选项。研究表明,你需要给iOS 16一个提示,你想要使用该设备进行开发,否则操作系统将不会暴露保护用户免受👀伤害的选项。显然,实现这一点的一种方法是将一款应用程序侧面加载到设备上,但这对我来说是不可接受的。因此,我所做的就是在developer.apple.com上手动创建一个开发配置文件,并(通过Xcode)将其安装到设备上。安装配置文件后,iOS 16立即开始显示开发模式选项。

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com