Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to update auto layout status: The agent crashed #1

Open
emptyway opened this issue May 28, 2017 · 9 comments
Open

Failed to update auto layout status: The agent crashed #1

emptyway opened this issue May 28, 2017 · 9 comments

Comments

@emptyway
Copy link

After I assigned NFDownloadButton to a UIView, I get this error:

IB Designables: Failed to update auto layout status: The agent crashed

And If i want to create it programmatically, get this error:

'NFDownloadButton' initializer is inaccessible due to 'internal' protection level
@LeonardoCardoso
Copy link
Owner

This is a known issue. It's set as fixed in the next version. Thanks.

@LeonardoCardoso
Copy link
Owner

Hey, the initializer thing is fixed in the version 0.0.2. Regarding the InterfaceBuilder issue, there are some threads about it, have a look:

https://stackoverflow.com/questions/26799054/failed-to-render-instance-of-ib-designables#answer-26812639
https://stackoverflow.com/questions/31265906/ibdesignable-crashing-agent

I'll spend more time on it properly when I have time.

@emptyway
Copy link
Author

@LeonardoCardoso thanks for the prompt reply and for this awesome pod!

I end up using the storyboard way, it show the error message but still compile and seems to work as expected.

@LeonardoCardoso
Copy link
Owner

@simonlinj I'm not sure but it looks like a Xcode bug, because I'm using GraphicsContext and Xcode can't render it properly on Storyboard. I may be wrong though.

@ghost
Copy link

ghost commented Jul 6, 2017

Having the same issue, it isn't rendered in storyboard and throws these errors - but runs fine.

@Z--EN
Copy link

Z--EN commented Jan 26, 2018

The same, XCode 9.2

@jr00n
Copy link

jr00n commented Nov 23, 2018

Any updates? Still an issue here in XCode 10.1

@LeonardoCardoso
Copy link
Owner

This seems to be a Xcode problem.

@realityworks
Copy link

Yes, has been around since Xcode 8. It's truly disappointing the engineers at Apple still have yet to fix this issue on complex StoryBoard/View layouts. Poor form Apple!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants