When you encounter an app crash with an error message like “ NSInvalidUnarchiveOperationException: Could not instantiate class named NSLayoutConstraint”, the problem might be, that you are running a app compiled with iOS SDK 6 on a device with iOS 5. To fix the problem select the appropriate Storyboard or XIB file, and under “Interface Builder Document” uncheck “Use Autolayout”