Xcode: Failed to update auto layout status

Once in a while we come across a situation where our storyboard or xib does not show the UI but only the frames with blue lines marking the views.

This issue is caused due to Xcode not being able to read autolayouts and are more frequent on slow macs.

The problem can be solved in following steps

  1. Clear derived data
  2. Restart Xcode i.e quit it and reopen (do not just reopen project)
  3. Clean project
  4. Build

These steps will resolve the issue and you will be able to see your view

A pat on the back !!