學習Swift最快捷的方法就是創建playground,但有時后運行很慢或者一直顯示Running,無法輸出。
解決辦法
-
關閉Xcode
-
在終端里執行2段代碼
rm -rf ~/Library/Developer/CoreSimulator/Devices
killall -9 com.apple.CoreSimulator.CoreSimulatorService
再打開playground文件就正常了
學習Swift最快捷的方法就是創建playground,但有時后運行很慢或者一直顯示Running,無法輸出。
關閉Xcode
在終端里執行2段代碼
rm -rf ~/Library/Developer/CoreSimulator/Devices
killall -9 com.apple.CoreSimulator.CoreSimulatorService
再打開playground文件就正常了
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。