Error from Companion: error: Unable to activate constraint with anchors and because they have no common ancestor. Does the constraint or its anchors reference items in different view hierarchies? That's illegal

When I connect an app with iOS Companion, it said "Error from Companion: error: Unable to activate constraint with anchors and because they have no common ancestor. Does the constraint or its anchors reference items in different view hierarchies? That's illegal."
But when I connect the same app with Android Companion, there is no error.
How to fix it?

This is caused by having some nested components where the parent arrangement is not visible but the child is. We have a fix in the queue for this bug that will go out in the next release. In the meantime, there appears to be a workaround if you set the arrangements to be visible in the designer and then make them invisible in Screen1.Initialize.