在更新Xcode 10.3后,项目部分xib文件会报错
:-1: Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7faa7f6b6eb0> System content for IBCocoaTouchFramework-EightAndLater <IBScaleFactorDeviceTypeDescription: 0x7faa7f6bf1d0> scaleFactor=2x'. These intermediate objects were non-nil: (
网上给出的解决答案是:
After having a google I found a similar question here and here, summary of the some of the answers in that question:
Make sure you are running the latest version of Xcode and you dont have a beta installed.
Close Xcode and then opened up Activity Monitor. Terminate any Ibtool processes running and restart Xcode.
Delete any custom color pickers you have installed in for Xcode, close the Xcode and relaunch
Try recreating any nibs you may have changed.
summary from the Xamarin Forums link:
Uninstall Xamarin studio, Xcode
Delete /Libraries/Developer and ~/Libraries/Developer folders
Reboot
Reinstall Xcode, Xamarin studio
If none of these work could you check in the Console.app for any errors when building.
Hope this helps.
我的解决方案是:关机(感觉自己low到爆,但确实好用)
网友评论