网络知识 娱乐 Failed to prepare device for development&下载ios DeviceSupport15.4

Failed to prepare device for development&下载ios DeviceSupport15.4

xcode真机调试提示错误:

Failed to prepare device for development

然后点击xcode windows-》Devices and Simulators==》查看该设备的详细信息:

NSLocalizedFailure = "This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running.";

说明你的设备系统太高了,需要下载新的Devicesupport放入到Xcode的目录中。

我的手机系统的是15.4,xcode版本是13.0

下载了15.4的Devicesupport放入到Xcode的对应的目录中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

不知道别人都是最开始从哪里下载的,我想到的就是安装了最新的xcode版本,然后导出。
很多github上都下载不下来,每次找都要找半天
好不容易找到一个,故自己存一份,留给需要的人。

现在有14.8 15.0 和 15.4 
后续自己有需要要持续更新

链接:https://pan.baidu.com/s/19YcRXMS9uio8NTA2VfYoCg 
提取码:ozo2