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

相关推荐
2501_9160074714 小时前
Bundle ID 注册与管理 App ID 创建指南 命名规则 权限开关与删除注意事项
android·ios·小程序·https·uni-app·iphone·webview
大熊猫侯佩15 小时前
WWDC26:把 SwiftUI Toolbar 真正握在手心里
swiftui·swift·apple
coding4u18 小时前
Mac 外接显示器完全指南:从插上线到调好每个参数
macos·计算机外设·文件管理·显示器·策略模式·quick look扩展
zhyf11918 小时前
(Mac)Homebrew部署Obsidian+Claudian+Excalidraw
macos
chuan.bai18 小时前
Java RAG 实战(第 3 篇):从交互式聊天到多轮上下文
java·人工智能·macos·ai
Chennn__19 小时前
开源项目:Recorder — 本地离线 macOS 录音转文字(通用/课堂/雅思,可选 Ollama)
macos
AUV110719 小时前
录系统声音用什么 Mac 录屏软件:双音源到成片的五层验收
macos
大熊猫侯佩20 小时前
WWDC 26 全新 ResultsObserver:终于能在 View 外面盯着 SwiftData 了
swiftui·swift·apple
大熊猫侯佩20 小时前
别再把大模型供在云端了,WWDC26 CoreAI 大模型下凡实战
ai编程·swift·wwdc
chuan.bai21 小时前
Java RAG 实战专栏导读:从零跑通 Ollama + Qdrant + Spring Boot 知识库
java·人工智能·macos·ai