错误提示:xx_launch.storyboard: Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x600001212060> System content for IBVisionIdiom-SevenAndLater <IBScaleFactorDeviceTypeDescription: 0x600001211a00> scaleFactor=2x, renderMode.identifier=(null)'.
看了一些解决方法:
方法1:
重启mac解决
这个尝试了,没有解决。
方法2:
第一步:
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
第二步:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
第三步:
xcrun simctl erase all
尝试了这个方法,解决了。
=========================分割线 2024-04-25=============================
接上。
刚开始用上面的方法是没问题的,但是后面切换其他项目回来之后,发现又报这个错。一时抓耳挠腮好不痛快。最后stackoverflow受到启发,原来是:
我更新Xcode15.3之后,这里变成了IOS7.0。
最后改成这样解决: