Xib file constraints all messed up after upgrade to Xcode 9 GM

Hello,

I am having a VERY difficult time with my app since I have upgraded to Xcode 9 GM. All the Xib files seem to have their constraints screwed up along with it appears StackViews are not working correctly. Anyone else having the same issues?


Jay

Yes, having weird issues in Xcode 9 GM with IB. I have a simple view that has two UILabels in it, Label1 on top, and Label2 on the bottom, both using simple auto layout, I assign the Labels in IB to the code, and all seem's to work fine. When I run in iOS11 with building in Xcode9 GM, the UILabels are reversed, Label1 is on the bottom and Label2 is on the top. If you want them to show up properly you have to reverse the Label connections in IB without changing the layout. When I run and build in Xcode8.3.3 the UILabels are correct, and nothing has changed in the Xib file either. Along with all the simulator issues people are having Xcode 9 GM is basically unusable. I was also having issues getting Xcode8.3.3 to reload the old simulators, after installing Xcode 9 GM, all the simulators in Xcode 8.3.3 disappeared, and you could not reload them. To get it to work again in Xcode 8.3.3 you have to download a new iOS simulator, and then magically all the other ones that were already there reappear. I'm also pretty sure all the simulator issues in Xcode 9 GM are related to the new A11 Bionic chip which uses a new GPU architecture, as such all the graphics drivers had to be re-written since they then deviated substantially from Imagination Technologies drivers. Right now when you run an iPhone X with iOS11 in the simulator using SceneKit you'll see it looks like the CPU is writting the graphics to memory rather then the GPU since it's so slow with frame rates around 10 or less, a clear indication the GPU isn't being used properly. With the shipment of iPhone 8's in a week or so, I'd say Apple is cutting things rather close, espeically if they have to finish up re-writing graphics drivers. Nvidia usually spends a year doing just that for every new GPU before it's released.

Hello, I installed Xcode 9 today and the same issue. Where all the constraints are collapsed or gone in my embedded stack view.


Anyone find A workaround or know of a bug report? I don’t know what to do.

Upgrade to XCode 9.1 Beta.


I did and I can now see the layouts as before in Interface Builder.

Another thing I noticed. The collapsed auto constraints and stack views only happen with just the Standard Editor selected in IB. If you select the Assistant Editor in IB, you will see everything work alright.

Xib file constraints all messed up after upgrade to Xcode 9 GM
 
 
Q