Failed to prepare the device for development

👨🏻‍💻 热爱摄影的程序员

👨🏻‍🎨 喜欢编码的设计师

🧕🏻 擅长设计的剪辑师

🧑🏻‍🏫 一位高冷无情的编码爱好者

大家好,我是 DevOps 工程师

欢迎分享 / 收藏 / 赞 / 在看!

【问题】使用 Xcode 连接真机 iPhone 时,出现 Failed to prepare the device for development. 的错误。

笔者相关软件设备信息:

Xcode 14.2

iOS 16.7

bash 复制代码
Failed to prepare the device for development.
This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode.
You may also need to restart your Mac and device in order to correctly detect compatibility.

【解决】

原因是 Xcode 与 iOS 版本不兼容,没有找到对应设备支持包。

来到 Gitee - iOSDeviceSupport 下载对应 iOS

版本的设备支持包,解压后放到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

目录下,重启 Xcode 即可。

笔者下载的是 iOS 16.6,同样支持 iOS 16.7

相关推荐
爱喝矿泉水的猛男35 分钟前
如何测试鼠标是否支持mac mouse fix
macos·计算机外设
2501_916007473 小时前
如何查看 iOS 设备系统与硬件信息,iOS系统信息显示工具
android·ios·小程序·https·uni-app·iphone·webview
Navicat中国3 小时前
Navicat Premium MacOS:原生或通过 Rosetta 运行教程
数据库·macos·oracle·navicat·rosetta
2501_916007475 小时前
iOS APP 开发,从项目创建、证书与描述文件配置、安装测试和IPA 上传
android·ios·小程序·https·uni-app·iphone·webview
Siyu_Zhu5 小时前
mac + server 完全一致的实验模板
macos
TESmart碲视5 小时前
KVM切换器支持高刷新率游戏吗?
游戏·macos·计算机外设·kvm切换器·双屏kvm切换器
Swift社区5 小时前
在Swift中实现允许重复的O(1)随机集合
开发语言·ios·swift
爱喝矿泉水的猛男5 小时前
哪些鼠标不支持Mac mouse fix呢?
macos·计算机外设
初级代码游戏1 天前
iOS开发 SwiftUI 8:NavigationView 导航
ios·swiftui·swift
ASKED_20191 天前
macOS 使用 Codex CLI 登录报错 403 的问题分析与解决方案(Issue #2414)
macos·issue