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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:51:24+00:00 2026-05-24T19:51:24+00:00

I just opened my project with Xcode 4.1GM (was using 4.0.2 before). When I

  • 0

I just opened my project with Xcode 4.1GM (was using 4.0.2 before). When I enter a number in a textfield I get an EXC Bad Access error but the log doesn’t provide any info so I can’t figure out whats going on. Is there something new in the 4.1 GM that messed this up?

Crash is happening in main.m file at line int retVal = UIApplicationMain(argc, argv, nil, nil);

This is a code that pushes the view and keyboard which is crashing:

- (IBAction)weightButtonPressed
{
    [self.weightView setFrame:CGRectMake(0, self.view.frame.size.height, self.view.frame.size.width, self.view.frame.size.height)];
    [self.view addSubview:self.weightView];

    BOOL isKgs = [[NSUserDefaults standardUserDefaults] boolForKey:@"isKgs"];
    if (isKgs)
    {
        self.weightLabel.text = @"0 kgs";   
    }
    else
    {
        self.weightLabel.text = @"0 lbs";   
    }
    self.weightTextField.text = nil;

    UIBarButtonItem *acceptButton = [[UIBarButtonItem alloc]initWithTitle:@"Next" style:UIBarButtonItemStyleDone target:self action:@selector(dismssPickerSetWeight)];
    self.navigationItem.rightBarButtonItem = acceptButton;
    [acceptButton release];

    [weightTextField addTarget:self action:@selector(textFieldDidChange) forControlEvents:UIControlEventEditingChanged];
    self.weightSelectedString = self.weightTextField.text;
    self.weightTextField.hidden = YES;

    [UIView animateWithDuration:.2
                     animations:^
    {[weightTextField becomeFirstResponder]; [self.weightView setFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];} 
                     completion:^(BOOL finished){}];
}
  • 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-05-24T19:51:25+00:00Added an answer on May 24, 2026 at 7:51 pm

    Does the stack trace where you crash include [AppleSpell init]?

    It’s a known bug on Lion with Xcode 4.1 GM seed.

    But you installed the final version already, right? Check About Xcode. It should say 4B110. It will probably say 4B95. The Xcode final installer doesn’t properly upgrade the seed.

    You need to completely uninstall Xcode 4.1 GM seed first for the Xcode installer to do its job. See the About Xcode.pdf in your /Developer folder.

    If you’re not on the 4.1 branch for whatever reason, you could work around this by turning off autocorrect in your viewDidLoad, but make sure you’re using a final build of Xcode for public releases.

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

Sidebar

Related Questions

Just getting started in xcode 4 and svn, opened my project (had been using
I just opened my project in the new XCode 4.2 for the first time
Today I just opened the project I was working on XCODE 4, and only
I just opened up a project I have done in MVC a while back,
I just opened an older android app project and all of a sudden numerous
I just opened someone else's Visual Studio project and in their build properties they
Just started on a new project and opened up a 1600 line web.config file
I've just created msi installation package for my application using Setup Project. I've used
I just opened a project i havent worked for in a couple months, and
I just opened up a project that had the .hgignore file set up entirely

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.