美文网首页
iOS开发之升级xcode10.3报错

iOS开发之升级xcode10.3报错

作者: chasitu | 来源:发表于2019-09-26 15:05 被阅读0次

xcode升级之后运行一下项目直接报错,我们先看看报错

报错

解决方法: Kill all simulator processes

第一步

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

第二步

sudo xcode-select -s  /Applications/Xcode.app/Contents/Developer

第三步

xcrun simctl erase all

然后运行一下项目就正常了,如果真机运行报错的话彻底退出xcode重新运行就好了,收工

相关文章

网友评论

      本文标题:iOS开发之升级xcode10.3报错

      本文链接:https://www.haomeiwen.com/subject/ilebyctx.html