学习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,搞定!