Xcode10.3 项目XIB报错解决方案

报错信息:

/Users/zhaiyulei/Git/yxt/yxt/yxt/Supporting Files/Base.lproj/LaunchScreen.storyboard:-1: Failed to find or create execution context for description ' System content for IBCocoaTouchFramework-EightAndLater scaleFactor=2x'. These intermediate objects were non-nil: (

这个是启动页的报错,在解决这个以后其他的XIB也会报错,所以这是一个全局的错误信息。

解决:

$ sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
$ sudo xcode-select -s  /Applications/Xcode.app/Contents/Developer
$ xcrun simctl erase all

 

你可能感兴趣的:(iOS常识,常见错误)