解决xcode 运行不老iPhone 15 iOS 17.1 设备的问题

问题

最近要查看一下ios 17.1的设备的性能,但是当前版本的Xcode运行不了

解决方法

1、更新Xcode版本到15.1以上

2、更新完成后,大概率出现这个情况

原因:在app Store中更新到Xcode15后,运行不了模拟器和真机.需要下载iOS 17对应的模拟器.(都懒得吐槽)

3、点击下载

4、如果出现下载失败,也别尝试了,因为在Xcode中下载不仅慢,而且经常出现失败,关键是它不支持断点续传,我是重复了几次都没搞定(这点xcode属实拉跨)。

直接前往官网下载https://developer.apple.com/download/all/?q=Xcode

5、下载完成后使用以下命令进行安装

复制代码
xcrun simctl runtime add "~/Downloads/watchOS 9 beta Simulator Runtime.dmg"

或者没设置过的同学参考官方方法Installing and managing Simulator runtimes | Apple Developer Documentation

复制代码
    xcode-select -s /Applications/Xcode-beta.app
    xcodebuild -runFirstLaunch
    xcrun simctl runtime add "~/Downloads/watchOS 9 beta Simulator Runtime.dmg"

6、安装完就大功告成,可以正常看到设备了

相关推荐
HarderCoder11 小时前
iOS 知识积累第一弹:从 struct 到 APP 生命周期的全景复盘
ios
叽哥21 小时前
Flutter Riverpod上手指南
android·flutter·ios
大熊猫侯佩2 天前
桃花岛 Xcode 构建秘籍:Swift 中的 “Feature Flags” 心法
app·xcode·swift
悄然林静2 天前
Mac终端执行`brew doctor`报`openssl@1.1`警告
mac·xcode·apple
用户092 天前
SwiftUI Charts 函数绘图完全指南
ios·swiftui·swift
YungFan2 天前
iOS26适配指南之UIColor
ios·swift
权咚3 天前
阿权的开发经验小集
git·ios·xcode
用户093 天前
TipKit与CloudKit同步完全指南
ios·swift
法的空间3 天前
Flutter JsonToDart 支持 JsonSchema
android·flutter·ios
2501_915918413 天前
iOS 上架全流程指南 iOS 应用发布步骤、App Store 上架流程、uni-app 打包上传 ipa 与审核实战经验分享
android·ios·小程序·uni-app·cocoa·iphone·webview