presentViewController: crash on iOS

I believe this is an issue with Xcode’s new interface builder. Did you happen to build your .xib using Xcode 4.5’s interface builder? I’ve run into this same problem just now, and I think that’s the problem. My app runs on iOS 6, but not anything older.

And you need to make sure you turn off Use Auto Layout for your xibs.

That can be done by:

  1. Open your xib.
  2. Go to the File Inspector tab.
  3. Find the Interface Builder Document section on the right toolbar.
  4. Uncheck the Use Auto Layout option.

Leave a Comment