在学习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
本文标题:Playground一直卡在run playground
本文链接:https://www.haomeiwen.com/subject/whhhfxtx.html
网友评论