Search code examples
ios8xcode6uistoryboardxcode-storyboard

Xcode 6.1.1 Storyboard changes layout when I re-open the project


When I open xcode and create layout everything looks pretty much like it should (meaning that the storyboard view controller looks pretty much like the preview)

But when I close out of xcode and re-open it... the view looks like this. This is concerning not just because its difficult to work on, but also because it seems that the storyboard file knows these aren't where they should be. If I click on any individual element it is looking for me to update the constraints for this new layout which is completely inaccurate.

I've tried moving all the items back to the middle, and re-laying out the whole thing, but this takes about 5+ minutes each time I want to make a change. I'm wondering if there is a way to reset the storyboard back to what it should be, or if there is some setting that I have wrong which would result in this change. Any help would be greatly appreciated!

UPDATE!

Ok so I discovered now that I can "Update Frame" to fix the layout. Still not sure why the layout is getting messed up in the first place.

Screenshot of problem


Solution

  • That seems like a bug in xCode 6.1.x (prior to v6.3.xx), which was resolved in a meanwhile.

    Here is the official reference : http://adcdownload.apple.com//Developer_Tools/Xcode_6.3_beta/Xcode_6.3_beta_Release_Notes.pdf

    Definite solution of this problem : You need to update xCode to v6.3 which successfully resolves this problem