Live Rendering - "Rendering the view took longer than 200 ms" error message falsely appear, masking other runtime errors

Originator:yonix85
Number:rdar://18651934 Date Originated:14-Oct-2014
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.0.1
Classification:Serious Bug Reproducible:Sometimes
 
I often get the following error message when trying to define live render a view in IB:

error: IB Designables: Failed to render instance of MyView: Rendering the view took longer than 200 ms. Your drawing code may suffer from slow performance.

This happened to me when I had the wrong module name set in the .xib - got the wrong error message about it.
And now it's happening again and I'm pretty hopeless about it because I don't know what the real error is. It's clearly not the slowness of the rendering as I confirmed the drawRect code is never invoked.

Searching in the devforums lead me to understand this is a common issue masking various kinds of runtime errors:
https://devforums.apple.com/message/1052529#1052529

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!