錯誤訊息
完整訊息
Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding
![iOS模擬器啟動時出現 Failed to start launchd_sim 14 4RyEn3I](https://i.imgur.com/4RyEn3I.png)
解決方法
有幾種方式:
- 調整
/Volumes/Macintosh\
,HD/private/tmp
權限,對我沒用
sudo chmod 1777 /Volumes/Macintosh\ HD/private/tmp
- 調整
/tmp
,/private/tmp
權限,對我沒用
sudo chown root:admin /tmp; sudo chmod 1777 /tmp
sudo chown root:wheel /private/tmp; sudo chmod 1777 /private/tmp
- 有清除快取,對我有用
sudo rm -rf ~/Library/Developer/CoreSimulator/Caches