升級(jí)Xcode15.1之后癌瘾,需要安裝iOS_17.2_Simulator
開(kāi)發(fā)者官網(wǎng):https://developer.apple.com/download/all/?q=ios
下載 iOS 17.2 Simulator Runtime
下載完成后贩疙,執(zhí)行以下命令
//1、
sudo xcode-select -s /Applications/Xcode.app(輸入開(kāi)始密碼)
//2情屹、
xcodebuild -runFirstLaunch
//3、
xcrun simctl runtime add '/Users/xxxxx/Downloads/iOS_17.2_Simulator_Runtime.dmg'
然后打開(kāi)xcode查看
就已經(jīng)安裝好了,可以調(diào)試了