iOS Simulator unable to boot the simulator 解決方法

apple logo on blue surface
Photo by Sumudu Mohottige on Unsplash

錯誤訊息

開啟模擬器時出現 unable to boot the simulator

Error: xcrun simctl boot BF772A57-2479-4B17-BC37-83DD3754104B exited with non-zero code: 60
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):
Unable to boot the Simulator.
launchd failed to respond.
Underlying error (domain=com.apple.SimLaunchHostService.RequestError, code=4):
        Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding
image 5

解決方法

打開系統設定 > 一般 > 儲存空間 > 開發者 > 刪除 Xcode 快取

Snipaste 2024 06 28 15 44 11
Snipaste 2024 06 28 15 44 51
Snipaste 2024 06 28 15 46 44
Snipaste 2024 06 28 15 47 08
guest

0 評論
最舊
最新 最多投票
內聯回饋
查看全部評論