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 8714707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:39:44+00:00 2026-06-13T05:39:44+00:00

I have an iOS application that was developed using Xcode Version 4.5.1. My iOS

  • 0

I have an iOS application that was developed using Xcode Version 4.5.1. My iOS deployment target is set to 5.0 since I would like the app to run on iOS 5.0, 5.1 and 6.0.

When I run the app on an iOS 6 device (or simulator) everything works fine.
When I run the app on an iOS 5 device (or simulator) the application crashes in UIApplicationMain. I can step al of the way through application:didFinishLaunchingWithOptions: and it appears to be executing successfully. Here is the stack trace:

stack trace image

Here are the registers if it helps:

(lldb) register read
General Purpose Registers:
       eax = 0x06e5f590
       ebx = 0x01226f9c  "class"
       ecx = 0x0733fb8c
       edx = 0x0733fb90
       edi = 0x0011d814  (void *)0x0011d800: TRAppDelegate
       esi = 0xbffff310
       ebp = 0xbffff2e8
       esp = 0xbffff2a0
    eflags = 0x00000286
       eip = 0x00002b3d  Messenger`main + 141 at main.m:16
6 registers were unavailable.

(lldb) 

backtrace:

    (lldb) bt
* thread #1: tid = 0x1c03, 0x01211caa libobjc.A.dylib`objc_exception_throw, stop reason = breakpoint 1.3 2.3
    frame #0: 0x01211caa libobjc.A.dylib`objc_exception_throw
    frame #1: 0x015cda48 CoreFoundation`+[NSException raise:format:arguments:] + 136
    frame #2: 0x015cd9b9 CoreFoundation`+[NSException raise:format:] + 57
    frame #3: 0x006954a3 UIKit`UINibDecoderDecodeObjectForValue + 281
    frame #4: 0x0069567b UIKit`UINibDecoderDecodeObjectForValue + 753
    frame #5: 0x00695383 UIKit`-[UINibDecoder decodeObjectForKey:] + 117
    frame #6: 0x0059516d UIKit`-[UINib instantiateWithOwner:options:] + 921
    frame #7: 0x0043b1fc UIKit`-[UIViewController _loadViewFromNibNamed:bundle:] + 286
    frame #8: 0x0043b779 UIKit`-[UIViewController loadView] + 302
    frame #9: 0x0043b99b UIKit`-[UIViewController view] + 53
    frame #10: 0x0039a401 UIKit`-[UIWindow addRootViewControllerViewIfPossible] + 45
    frame #11: 0x0039a670 UIKit`-[UIWindow _setHidden:forced:] + 280
    frame #12: 0x0039a836 UIKit`-[UIWindow _orderFrontWithoutMakingKey] + 49
    frame #13: 0x003a172a UIKit`-[UIWindow makeKeyAndVisible] + 35
    frame #14: 0x00372596 UIKit`-[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1820
    frame #15: 0x00373274 UIKit`-[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 524
    frame #16: 0x00382183 UIKit`-[UIApplication handleEvent:withNewEvent:] + 1027
    frame #17: 0x00382c38 UIKit`-[UIApplication sendEvent:] + 68
    frame #18: 0x00376634 UIKit`_UIApplicationHandleEvent + 8196
    frame #19: 0x02314ef5 GraphicsServices`PurpleEventCallback + 1274
    frame #20: 0x015f9195 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
    frame #21: 0x0155dff2 CoreFoundation`__CFRunLoopDoSource1 + 146
    frame #22: 0x0155c8da CoreFoundation`__CFRunLoopRun + 2218
    frame #23: 0x0155bd84 CoreFoundation`CFRunLoopRunSpecific + 212
    frame #24: 0x0155bc9b CoreFoundation`CFRunLoopRunInMode + 123
    frame #25: 0x00372c65 UIKit`-[UIApplication _run] + 576
    frame #26: 0x00374626 UIKit`UIApplicationMain + 1163
    frame #27: 0x00002b3d Messenger`main + 141 at main.m:16
(lldb) 

Questions

  1. Any idea what might be going on here?
  2. Is it possible to develop an iOS 5 app using Xcode 4.5? I assume that the answer is yes.
  3. How do I see the contents of the registers? I have tried looking a few things from here but haven’t been able to see anything useful.
  4. Which registers should I be focusing on?
  5. What is the question that I should be asking that I am not asking?

Solution:

Disable Auto-Layout

  • 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-13T05:39:46+00:00Added an answer on June 13, 2026 at 5:39 am
    1. It’s possible you’re using features only available in iOS 6 such as AutoLayout. Open your interface files and make sure AutoLayout is unchecked:
      enter image description here
      This AutoLayout toggle can be found in the utilities inspector (pane on the right side of Xcode) and then under the first tab of the Utilities Inspector (the File Inspector). You can also change the Document Versioning Deployment setting to the lowest iOS version your app supports. After doing so, Xcode will show warnings for features in your interface that are deprecated or may not be supported on some iOS versions.

    2. Yes, of course you can develop apps for earlier versions of iOS with Xcode 4.5. Just make sure that your deployment target is set correctly in your project settings.

    3. DrummerB’s Suggestion for 3 & 4 should work well:

      I don’t think that’s going to help. Maybe you could try running bt in the debug console when your app crashes to get a trace.

    Also, to improve upon DrummerB’s answer, it is okay to use iOS 6 classes / APIs but you must check for their availability before using them:

    if ([UIClassName class] != nil) {
        //UIClassName is available, you can now set it up
    } else {
        //UIClassName is not available, use a different class or prompt the user
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that is developed for ios lower than ios 5.. it
for an iOS 5.0 application using ARC, i have an NSArray of objects that
Currently, I have an iPhone app published in AppStore. I've developed it using XCode
I have developed an application using last SDK (4.3) and XCODE 4. I have
I have developed a web application that runs on Android and iOS. Does the
I would like to have your feedback regarding Authentication mechanism for an Application using
I have an iOS application that downloads an xml file using: NSURL *queryURL =
I have an application developed on iOS & Android using phonegap 1.6.0 & JQM
In my iOS application I have made a form that should submit data into
I have an AIR application that I'm compiling to mobile. There is an iOS

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.