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的目录中。然后重启xcode
我的手机系统的是15.4,xcode版本是13.0
下载了15.4的Devicesupport放入到Xcode的对应的目录中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
链接: https://pan.baidu.com/s/13Cy49TD2DDArO_E7PP4mwg?pwd=n8zy 提取码: n8zy 复制这段内容后打开百度网盘手机App,操作更方便哦
原文链接:https://blog.csdn.net/u012138730/article/details/124042894
网友评论