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:
- 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
Go to the Editor -> Debug Selected View while selecting your
@IBDesignable UIView
in your storyboard, and see the stack trace.Delete Derive Data folder.
Xcode Preference -> Location -> Derived Data
/Users/YourMacName/Library/Developer/Xcode/DerivedDataClean your project
Shift
+Command
+Alt
+K
.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
Retrieve All Contacts Phone Numbers in iOS
Xcode Beta 6 iOS 8: Simulator Not Working
iOS Uinavigationbar Button Remains Faded After Segue Back
How to Apply Uiappearance Proxy Properties to Uilabel
My Prerelease App Has Been "Processing" for Over a Week in Itunes Connect, What Gives
Uitableview Row Animation Duration and Completion Callback
An App Id with Identifier '' Is Not Available. Please Enter a Different String
Prevent Segue in Prepareforsegue Method
Where's the Difference Between Setobject:Forkey: and Setvalue:Forkey: in Nsmutabledictionary
Ios9 Does Not Load Insecure Resources from a Secure Page (Ssl/Https)
How to Use Any in Codable Type
Cleanest Way of Capturing Volume Up/Down Button Press on iOS 8
Google Plus API for Posting on Wall Like Facebook
Uicollectionview: Must Be Initialized with a Non-Nil Layout Parameter
Change the Uitableviewcell Height According to Amount of Text