Torewin
Torewin

Reputation: 907

Failed to automatically update constraints

I am getting the Failure to automatically update constraints error when trying to use the auto layout to Add, Reset, or Update any restraints on any viewController after updating to xCode 9. Any ideas? I have already cleaned and restarted my Mac.

Still have not found a solution for this. I narrowed it down to any viewController with a collectionView inside it. Any ideas?

Upvotes: 8

Views: 3778

Answers (4)

Torewin
Torewin

Reputation: 907

For everyone following this. xCode 9.0.1 is out. Tested and it fixes this error. I haven’t be able to reproduce.

Upvotes: 1

Osama Ibrahim
Osama Ibrahim

Reputation: 1021

@Rumbel you are correct , its a bug from apple in Xcode 9.0

watch this youtube segment control bug in IOS 11 and Xcode 9.0

Upvotes: 0

guru prasad Gudluri
guru prasad Gudluri

Reputation: 53

Remove the navigationbar in your view controller in storyboard .For me it is working well.

Upvotes: 1

Rumpel
Rumpel

Reputation: 51

I got also this error, when I tried to update/add etc. my constraints error image

I use Xcode Version 9.0 (9A235) and I spent the whole day figuring it out. I solved my problem by deleting a segmentctrl in the navigation bar. all my controller with a segctrl in the nav bar seems to bug.

I made a video with a new project https://www.youtube.com/watch?v=TOTzCfDoFNA&feature=youtu.be

Upvotes: 5

Related Questions