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

解决办法

  1. 关闭Xcode

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

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

killall -9 com.apple.CoreSimulator.CoreSimulatorService

再打开playground文件就正常了

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

相关文章:

  • 2021-05-25
  • 2022-01-06
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-05-12
  • 2021-11-23
  • 2021-07-28
  • 2021-04-21
  • 2022-01-08
  • 2021-08-22
  • 2022-01-11
相关资源
相似解决方案