在學習Swift最快捷的方法就是創建playground,但有時后打開但是運行不起來可以想嘗試打開一個模擬器(我是打開ipad Pro模擬器)在退出Xcode 再次打開playground正常運行起來了。
還可以關閉Xcode
在終端里執行2段代碼
rm -rf ~/Library/Developer/CoreSimulator/Devices
killall -9 com.apple.CoreSimulator.CoreSimulatorService
在代開playground?
在學習Swift最快捷的方法就是創建playground,但有時后打開但是運行不起來可以想嘗試打開一個模擬器(我是打開ipad Pro模擬器)在退出Xcode 再次打開playground正常運行起來了。
還可以關閉Xcode
在終端里執行2段代碼
rm -rf ~/Library/Developer/CoreSimulator/Devices
killall -9 com.apple.CoreSimulator.CoreSimulatorService
在代開playground?