azi_santos
azi_santos

Reputation: 105

App crashes on the device after Xcode updated to 4.6

I am trying to run my app on the device but it gives me the following error in the output window:

Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named NSLayoutConstraint'

This happened after the Xcode 4.6 update. I used to have Xcode 4.3.3 and it used to work normal on that one. My device is my iPad and the iOS installed on it is 5.1.1.

Is there any way to solve this without having to update my ipad to 6.1 because I'm afraid im gonna have to get provisioning license again because I think it wont recognize my iPad anymore.

Upvotes: 1

Views: 189

Answers (1)

trojanfoe
trojanfoe

Reputation: 122401

You are using Auto Layout in one or more of your NIBs, which is only supported in iOS 6+.

Remove it by unchecking Use autolayout:

enter image description here

Upvotes: 3

Related Questions