1、從命令行安裝和管理模擬器運行時
從Apple Developer 網(wǎng)站下載要安裝的模擬器運行時。
圖片.png
2、然后使用命令行按照以下步驟進行安裝:
xcode-select -s /Applications/Xcode.app
xcodebuild -runFirstLaunch
xcrun simctl runtime add "/Users/dongjunchao/Desktop/iOS_17.2_Simulator_Runtime.dmg"
上面的步驟執(zhí)行完畢,xcode就會驗證Simulator完成之后, xcode即可正常顯示真機設備