Xcode 8 - Ib Designables - Failed to Render and Update Auto Layout Status, the Agent Crashed

Failed to render and update auto layout status, Failed to launch designables agent because tool was shutting down

Failed to render and update auto layout status for ReportsViewController

This error should not prevent you from building/running your application. It is often a Xcode bug, and most of the times you can get rid of it just by opening a .swift file and returning to the storyboard, undo & redoing last change or cleaning build folder.

No account for team "**********".

This must be the one stopping you from running your app, to fix it you must sign in with an Apple account. See here: https://stackoverflow.com/a/56774681/8125224

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

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.

Xcode: Failed to render and update auto layout status for UIView: the agent crashed

you have to set the default value for your @IBInspectable so it won't fail

IB Designables for storyboard UITableViewCell: Failed to render and update auto layout status for CountdownViewController The agent crashed

This is happening because your dummyView is an IBOutlet and is implicitly unwrapped. prepareForInterfaceBuilder will be called before dummyView is initialized. You can prevent a crash by changing your code to dummyView?.backgroundColor = .red but then nothing will be rendered because dummyView == nil.

It doesn't make a ton of sense to mix IBDesignable with IBOutlet. In general, IBDesignable is meant to make run time layout and drawing visible at design time. But IBOutlets are necessarily already visible at design time. This might however be desirable in a xib. For a discussion of that see here and here.



Related Topics



Leave a reply



Submit