iOS调试——解决playground无法执行的问题
iOS调试——解决playground无法执行的问题
问题:无法显示playground语句执行的结果
解决的方法:
1. 关闭Xcode
2. 在终端里执行两行代码:
rm -rf ~/Library/Developer/CoreSimulator/Devices
killall -9 com.apple.CoreSimulator.CoreSimulatorService
再次打开Xcode,playground就可以执行了
问题:无法显示playground语句执行的结果
解决的方法:
1. 关闭Xcode
2. 在终端里执行两行代码:
rm -rf ~/Library/Developer/CoreSimulator/Devices
killall -9 com.apple.CoreSimulator.CoreSimulatorService
再次打开Xcode,playground就可以执行了