M1电脑 Xcode15升级遇到的问题

遇到四个问题

一、模拟器下载经常报错。

二、Xcode15报错: SDK does not contain 'libarclite'

三、报错'coreAudioTypes' not found

四、xcode模拟器运行一次下次必定死机

一、模拟器下载经常报错。

可以https://developer.apple.com/download/all/?q=ios 下载最新的模拟器(一定要最新的不然跑不起来)下面是命令行代码

xcode-select -p//查看xcode目录

sudo xcode-select -s 上步的目录(输入开始密码)

xcodebuild -runFirstLaunch

xcrun simctl runtime add '/Users/xxxxx/Downloads/iOS_17.2_Simulator_Runtime.dmg'

二、Xcode15报错: SDK does not contain 'libarclite'

进入这个路径

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/

lib/

1、新建arc文件夹

2、下载:https://github.com/kamyarelyasi/Libarclite-Files中的libarclite_iphonesimulator.a

2、下载:https://github.com/kamyarelyasi/Libarclite-Files中的libarclite_iphoneos.a

3、将下载下来的文件粘贴到/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc下

三、报错'coreAudioTypes' not found

四、xcode模拟器运行一次下次必定死机

停止已运行的模拟器

xcrun simctl shutdown booted

相关推荐
OKXLIN3 小时前
IOS UITextField 无法隐藏键盘问题
ios·objective-c
AL.千灯学长11 小时前
DeepSeek接入Siri(已升级支持苹果手表)完整版硅基流动DeepSeek-R1部署
人工智能·gpt·ios·ai·苹果vision pro
openinstall全渠道统计1 天前
免填邀请码工具:赋能六大核心场景,重构App增长新模型
android·ios·harmonyos
早起的年轻人1 天前
Flutter CupertinoNavigationBar iOS 风格导航栏的组件
flutter·ios
貂蝉空大2 天前
uni-app开发安卓和ios app 真机调试
android·ios·uni-app
胖虎12 天前
iOS 中的圆角与平滑圆角:从新特性到老项目适配
ios·圆角·平滑圆角·cornercurve
志飞2 天前
ios UICollectionView使用自定义UICollectionViewCell
ios·collectionview·自定义cell
闲猫2 天前
go WEB框架
前端·golang·web·xcode
Neo Evolution2 天前
Flutter与移动开发的未来:谷歌的技术愿景与实现路径
android·人工智能·学习·ios·前端框架·webview·着色器
B.-2 天前
在 Flutter 中实现文件读写
开发语言·学习·flutter·android studio·xcode