Xcode打开playground运行很慢或者无法输出的解决办法

学习Swift最快捷的方法就是创建playground,但有时后运行很慢或者一直显示Running,无法输出。

解决办法

  1. 关闭Xcode

  2. 在终端里执行2段代码

rm -rf ~/Library/Developer/CoreSimulator/Devices

killall -9 com.apple.CoreSimulator.CoreSimulatorService

再打开playground文件就正常了

posted on 2018-07-29 21:39  有千山  阅读(3246)  评论(0编辑  收藏  举报

导航

//点击后出现烟花效果