iOS Developer

swift playground 报错:

2016-07-11  本文已影响0人  大掌柜88

学习swift时,playground 出错:Unable to find execution service for selected run destination

解决办法:

第1种:最简单的

Xcode -> Window -> Devices -> click "+" 增加iPad Pro simulator ,重新打开playground即可

第2种:命令行

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

$ killall -9 com.apple.CoreSimulator.CoreSimulatorService

重启Xcode,搞定!

上一篇 下一篇

猜你喜欢

热点阅读