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

相关推荐
二流小码农1 小时前
鸿蒙开发:DevEcoTesting中的稳定性测试
android·ios·harmonyos
库奇噜啦呼3 小时前
push [特殊字符] present
macos·ios·cocoa
胖虎14 小时前
iOS 16 SwiftUI 优雅跳转实践:用枚举路由和 NavigationStack 实现多页面导航
ios·swiftui·swift·swiftui跳转·navigationstack
软***c4 小时前
iPhone密码忘记了办?iPhoneUnlocker,iPhone解锁工具Aiseesoft iPhone Unlocker 高级注册版分享
ios·iphone·iphone 解锁
Digitally4 小时前
如何将联系人从 iPhone 转移到 Android
android·ios·iphone
FreeBuf_4 小时前
黑客利用iMessage零点击漏洞攻击iPhone用户
ios·iphone
安和昂4 小时前
【iOS】多线程NSOperation,NSOperationQueue
macos·ios·cocoa
pop_xiaoli20 小时前
OC—UI学习-2
学习·ui·ios
90后的晨仔1 天前
git 命令汇总
ios
liucan2331 天前
JS执行速度似乎并不比Swift或者C语言慢
前端·ios