Reputation: 3172
I set the constraints of layout properly and also tested it on every device. But the next time I open the project, Xcode just ruined the constraints totally.
How did this happen?
Upvotes: 3
Views: 117
Reputation: 12910
You did not specify you Xcode version, but my own experiences with code, that is developed using Xcode 8 Beta 1 to Beta 6: The problem may be caused by bug in XCode.
The explanation, if you use Xcode 8 Beta, could be:
Let's give Apple a little more time to fix the issues and let's wait until Apple releases GM Seed. It's only beta though
Upvotes: 0
Reputation: 36003
May be the project has a problem and for some reason it is not saving the changes. I have indeed put this solution on my troubleshooting book about Xcode from Apress (shameless advertising... 😃). I have seen this before.
Backup your project and try this:
.xcodeproj
file of your project and select Show Package Contents
.project.pbxproj
.Upvotes: 1