当前位置:   article > 正文

M1电脑 Xcode15升级遇到的问题_xcode15 not found 模拟器

xcode15 not found 模拟器

遇到四个问题

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

二、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

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号