Xcode 8 - IB Designables - Failed to render and update auto layout status, The agent crashed

后端 未结 20 1247
半阙折子戏
半阙折子戏 2020-11-27 09:55

I recently upgraded to Xcode 8 and I am having issues with the Storyboard.

If I open the project and I don\'t have the Storyboard open, it will compile and run just

20条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 10:22

    For anyone -like me- who can't find that IBDesignablesAgentCocoaTouch file or when trying to 'Debug Selected Views' from the Editor gets an error, here's another way to debug those "Failed to render" errors.

    Open the 'Console' app, from the sidebar select your current Mac (it will probably be auto-selected by default) and then on the search bar search for "IBSceneUpdate" and hit enter.

    This way, every time you get an Xcode error for an IBDesignable not being able to render, you will also get a new "IBSceneUpdate" entry with more details about the error.

    That's at least how I was able to debug my IBDesignable errors!

    Console app showing IBSceneUpdate errors

提交回复
热议问题