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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:01:38+00:00 2026-06-11T20:01:38+00:00

I have xcode 4.5 installed on my mac running mountain lion. And i have

  • 0

I have xcode 4.5 installed on my mac running mountain lion. And i have a jailbroken iphone 4 ios 5.1.1

I started a new project on xcode and add one label.

When i try to run it on simulator 6.0 there is no problem, but when i try to run it on my ios device i get this error:

#import <UIKit/UIKit
#import "AppDelegate.h"

int main(int argc, char *argv[])
{
    @autoreleasepool {
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
    }
}

Here is the image

Image

  • 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-11T20:01:39+00:00Added an answer on June 11, 2026 at 8:01 pm

    A new project in Xcode 4.5 will have the deployment target set to 6.0, so you wont be able to run it on a 5.1.1 device. Change the deployment target to 5.0

    Edit: from your error it looks like you are using an iOS 6 API in 5.x, which will cause a crash. NSLayoutContstraint is iOS 6.0 only. If you havent specifically set this, check that the “Use Autolayout” box is unchecked in all your xibs

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

Sidebar

Related Questions

I have installed xcode 3.2 with iphone SDK. (without Mac OS 10.4 SDK). WHen
Using the Python templates for Xcode, I have a simple project running on one
I have installed just installed MAC OS Lion and Upgraded Xcode to 4.1. But
I have installed Google Toolbox for Mac into Xcode and followed the instructions to
I have a brand new MacBook (air if it matters). I have installed Xcode
I’ve installed Snow Leopard, have Xcode 3.2 and 3.0 iPhone SDK. I want my
I've just installed OS X Lion and XCode 4.1. I have an app that
I have the newest XCode (4D199) installed and in terminal when I type new-host-2:
I was running Xcode 4.2 on Lion 10.7.2 and I have a few applications
I have install Mountain Lion (Mac OS X 10.8) and now gcc doesn't seem

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.