iOS开发之升级xcode10.3报错
2019-09-26 本文已影响0人
chasitu
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重新运行就好了,收工