- 指定安裝在某一個(gè)
Xcode
版本之下
sudo xcode-select -s /Applications/Xcode.app
- 運(yùn)行
Xcode
啟動(dòng)配置
xcodebuild -runFirstLaunch
- 添加新的模擬器,
xxxx.dmg
安裝包所在路徑
xcrun simctl runtime add "xxxx/iOS_Simulator.dmg"
- 若安裝報(bào)錯(cuò)堵第,可手動(dòng)刪除如下目錄中相關(guān)殘留破損包瞬哼,同時(shí)清理磁盤(pán)緩存包,退出 Xcode,再次執(zhí)行上述步驟。
open /Library/Developer/CoreSimulator/Volumes