Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8096835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:34:18+00:00 2026-06-05T21:34:18+00:00

* Terminating app due to uncaught exception ‘NSInvalidUnarchiveOperationException’, reason: ‘* -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode

  • 0

* Terminating app due to uncaught exception ‘NSInvalidUnarchiveOperationException’, reason: ‘* -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSLayoutConstraint)’

I have a very simple app

One view has one button

I Control Click and dragged the button to a second view and selected MODAL

When I run it in the simulator, everything works

When i run it in my iPad running iOS 5.1.1, it crashes with the error above. I have no idea why and there is no code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:34:20+00:00Added an answer on June 5, 2026 at 9:34 pm

    This is occuring because you are using Xcode 4.5 (or previously the beta) which uses “auto layout” by default. Auto layout is only available on iOS 6 so you will get a runtime error on previous iOS versions.

    You can fix this by opening your Storyboard, opening the Utilities pane, and disabling the “Use Autolayout” checkbox in the first tab/section:

    enter image description here

    For regular non-storyboard nibs, select the top-level view to access this option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not
2012-05-31 00:17:51.384 SAMPLEGAME[2901:10703] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<SAMPLEGAMEViewController 0x752c140>
What does this mean? * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*
I'm getting the following error: * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
what is meaning * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSMutableArray
I get the error * Terminating app due to uncaught exception 'NSGenericException', reason: '*
2009-07-21 12:47:14.458 FlashCards[1328:20b] * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSCFArray
I get the error: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+entityForName: could
The full error is: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]:
I have this error in xcode: Terminating app due to uncaught exception 'NSRangeException', reason:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.