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

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

    You can try one of the following to figure out the cause:

    1. look for the IBDesignablesAgentCocoaTouch logs in this directory: ~/Library/Logs/DiagnosticReports and see the cause.

    Note: for user with Catalina: look for IBDesignablesAgent-iOS_-.crash

    1. Go to the Editor -> Debug Selected View while selecting your @IBDesignable UIView in your storyboard, and see the stack trace.

    2. Delete Derive Data folder.

      Xcode Preference -> Location -> Derived Data
      /Users/YourMacName/Library/Developer/Xcode/DerivedData
      
    3. Clean your project Shift + Command + Alt + K.

    4. Build your project Command + B.

提交回复
热议问题