NFDownloadButton icon indicating copy to clipboard operation
NFDownloadButton copied to clipboard

Failed to update auto layout status: The agent crashed

Open emptyway opened this issue 8 years ago • 9 comments

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

emptyway avatar May 28 '17 22:05 emptyway

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

LeonardoCardoso avatar May 29 '17 04:05 LeonardoCardoso

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.

LeonardoCardoso avatar May 29 '17 08:05 LeonardoCardoso

@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.

emptyway avatar May 29 '17 13:05 emptyway

@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.

LeonardoCardoso avatar May 29 '17 15:05 LeonardoCardoso

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

ghost avatar Jul 06 '17 11:07 ghost

The same, XCode 9.2

Z--EN avatar Jan 26 '18 15:01 Z--EN

Any updates? Still an issue here in XCode 10.1

jr00n avatar Nov 23 '18 08:11 jr00n

This seems to be a Xcode problem.

LeonardoCardoso avatar Nov 23 '18 11:11 LeonardoCardoso

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!

realityworks avatar Jan 22 '19 01:01 realityworks