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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:38:42+00:00 2026-05-25T15:38:42+00:00

I am a beginner of Objective C and XCode. I use Mac os X

  • 0

I am a beginner of Objective C and XCode. I use Mac os X Lion and XCode 4.2. first, I create a project, command line tool, type is fundation. it generate a ‘hello world’ project.
I build it use command + B and run it by command + R.
it output “hello world” on console output.
when I change the code, and build it again, but it is always output “Hello World”…
this is my new code:

#import <Foundation/Foundation.h>

BOOL CompareInt( int lhs, int rhs ); 
void DumpBOOL( BOOL bValue );

BOOL CompareInt( int lhs, int rhs ) { return lhs == rhs; }

void DumpBOOL( BOOL bValue ) {
    if( bValue == YES )
    {
        NSLog( @"YES" );
    }
    else
    {
        NSLog( @"NO" );
    }
}

int main (int argc, const char * argv[]) {

    DumpBOOL( CompareInt(100, 1000) );

    @autoreleasepool 
    {    
        // insert code here...
        NSLog( @"Hello, World!!!!");

    }

    return 0;
}

if I change the setting on the left, change “my Mac 64-bit” to “My Mac 32-bit”, it work success.
so, I want to know how to solve it with 64bit setting.

  • 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-25T15:38:43+00:00Added an answer on May 25, 2026 at 3:38 pm

    I recreated this project, and it’s ok now.
    I don’t know the reason for the problem!.

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

Sidebar

Related Questions

Objective-C/iPhone beginner here...looking for a shove in the right direction. I need to create
As a beginner in objective C and xcode, I am trying to do a
I'm a complete beginner in Objective-C and Cocoa. I would like to create a
I am a beginner & my objective is to create a table in which
I'm a beginner with Xcode and Objective-C, i want to make a view controller
I'm a beginner with Objective C and iPhone development. It's there any way to
Beginner level question Scenario: Have simple string cocantation tool, that I might expand later
What database should a beginner use in the C language? Can I use MySQL?
I'm a beginner in Objective-C and I'm trying to find the most convenient way
I'm a beginner with iPhone dev in Objective C and one thing I find

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.