Error message:
/Users/zhaiyulei/Git/yxt/yxt/yxt/Supporting Files/Base.lproj/LaunchScreen.storyboard:-1: Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7fd8828999b0> System content for IBCocoaTouchFramework-EightAndLater <IBScaleFactorDeviceTypeDescription: 0x7fd8828b3440> scaleFactor=2x'. These intermediate objects were non-nil: (
This is an error on the startup page. After solving this problem, other XIBs will also report errors, so this is a global error message.
solve:
$ sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
$ xcrun simctl erase all