iOS模擬器啟動時出現 Failed to start launchd_sim

iPhone charging on MacBook

錯誤訊息

完整訊息

Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding
4RyEn3I

解決方法

有幾種方式:

  1. 調整 /Volumes/Macintosh\, HD/private/tmp 權限,對我沒用
sudo chmod 1777 /Volumes/Macintosh\ HD/private/tmp
  1. 調整 /tmp, /private/tmp 權限,對我沒用
sudo chown root:admin /tmp; sudo chmod 1777 /tmp
sudo chown root:wheel /private/tmp; sudo chmod 1777 /private/tmp

  1. 有清除快取,對我有用
sudo rm -rf ~/Library/Developer/CoreSimulator/Caches
guest

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