最近听说苹果要大力推行swift语言,所以我必须要赶快好好学一学,今天做第一个就遇到问题。

  在Xcode7.2欢迎界面,选中创建第一个,我们一般都是默认创建第二个。

  创建完后,出现问题了,提示如下:

  error running playground

     Unable to find execution service for selected run destination.

  我也不知道是什么原因就上网百度了一下,解决办法如下:

  解决的方法:

  1.关闭Xcode

  2.在终端里执行两行代码:
  rm -rf ~/Library/Developer/CoreSimulator/Devices
  killall -9 com.apple.CoreSimulator.CoreSimulatorService
 
  再次打开Xcode,playground就可以执行了。

相关文章:

  • 2021-11-30
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
  • 2021-05-14
  • 2022-01-03
  • 2021-08-02
  • 2021-11-30
猜你喜欢
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-10-25
  • 2021-11-10
  • 2021-12-26
相关资源
相似解决方案