Unable to activate constraint with anchors (Runtime Error)

Recently, I have been going through my old apps and tried to see if they still worked, but one of my apps displayed this message. I was wondering what is wrong and if there is a way to fix it.

This usually occurs on iOS when you have invisible components on the screen at design time. If you make the components visible in the designer and then hide them in the Screen1.Initialize block it should resolve the error.