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

相关推荐
jike_20264 小时前
销售拜访记录APP推荐:客户沟通内容怎么快速整理?
ios·语音识别·iphone
00后程序员张6 小时前
iOS 开发全流程需要哪些工具?编码、调试、构建、发布阶段选择
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
游戏开发爱好者817 小时前
WebSocket 抓包怎么查看内容?从握手到消息帧完整解读
网络协议·计算机网络·网络安全·ios·adb·https·udp
悟空瞎说21 小时前
# Alamofire 使用文档 完整翻译
ios
WeiAreYoung1 天前
Flutter+iOS 实现 Live Activity
flutter·ios
2501_916008891 天前
Swift多环境配置:利用Scheme实现灵活的多环境管理
开发语言·ide·vscode·ios·个人开发·swift·敏捷流程
00后程序员张1 天前
Windows / Linux / Mac 上不用 Xcode 把 IPA 上传到 App Store,upload 命令详解
android·ios·小程序·https·uni-app·iphone·webview
秦少游在淮海1 天前
id - Android、iOS
android·ios
太子釢2 天前
用 AI 完整实现 Github 客户端:基于 KMP + SwiftUI + Compose
android·人工智能·ios