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

后端 未结 20 1197
半阙折子戏
半阙折子戏 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:42

    In my case, I was using a library which was subclassing UIView. It was using IB_DESIGNABLE, and was missing call to [super awakeFromNib]. Once I've added the call to this method, the bug went away.

    I'm not sure if the fact that it was implementing IB_DESIGNABLE had an impact in this.

提交回复
热议问题