I’ve been able to reliably produce this error message and break the SwiftUI rendering in a Playground when nesting a ScrollView inside another ScrollView like this:

I don’t fully understand the error, but I’m starting to. If I change the ScrollView to specify a frame, the error goes away and the view can render:

The error still prints a few times in the console, but now the playground can now render this:

What I don’t understand is why the error is still printed in the console. Is the SwiftUI rendering engine trying to determine the desired size of each View my iterating through all the child/parent objects until it finds a frame or other dimension limitation? Why do some errors break the renderer and some do not? I’ll update here if I can get more clarity on what this console message actually means.

Let me know on twitter if you have any guidance or tips for debugging issues like this!