• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Empty project will not build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Empty project will not build


  • Subject: Empty project will not build
  • From: Scott Clausen <email@hidden>
  • Date: Sun, 22 Jun 2008 20:35:26 -0700

Hello,

I'm coming to the list with an issue that baffles me. I'm a newbie so please bear with me

I just received the new Hillegass book and entered the first program (RandomApp). It did not build so I checked it and reran it with errors and warnings showing up. This kept happening even though I downloaded the code from the Big Nerd Ranch website.

I finally just started a new project and attempted to build it without any changes or code additions. When I do the following is received:

Building target “TestScottApp” of project “TestScottApp” with configuration “Release” — (2 errors, 2 warnings)
    cd /Users/Scott/TestScottApp
    "/Previous Systems.localized/2008-04-21_2055/Developer/usr/bin/gcc-4.0" -o /Users/Scott/TestScottApp/build/TestScottApp.build/Release/TestScottApp.build/Objects-normal/i386/TestScottApp -L/Users/Scott/TestScottApp/build/Release -F/Users/Scott/TestScottApp/build/Release -filelist /Users/Scott/TestScottApp/build/TestScottApp.build/Release/TestScottApp.build/Objects-normal/i386/TestScottApp.LinkFileList -framework Cocoa -arch i386 -mmacosx-version-min=10.5 -isysroot "/Previous Systems.localized/2008-04-21_2055/Developer/SDKs/MacOSX10.5.sdk"
ld: warning in /Previous Systems.localized/2008-04-21_2055/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks//Cocoa.framework/Cocoa, file is not of required architecture
ld: warning in /Previous Systems.localized/2008-04-21_2055/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.dylib, file is not of required architecture
Undefined symbols:
  "_NSApplicationMain", referenced from:
      _main in main.o
  "_exit", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
ld: warning in /Previous Systems.localized/2008-04-21_2055/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks//Cocoa.framework/Cocoa, file is not of required architecture
ld: warning in /Previous Systems.localized/2008-04-21_2055/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.dylib, file is not of required architecture
  "_NSApplicationMain", referenced from:
      _main in main.o
  "_exit", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Build failed (2 errors, 2 warnings)

Can someone tell me what's going on and how to fix it> It appears to me that this is an Xcode issue.

Thanks,

Scott


 I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's. -- Mark Twain

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Empty project will not build
      • From: David Dunham <email@hidden>
    • Re: Empty project will not build
      • From: Alexander von Below <email@hidden>
    • Re: Empty project will not build
      • From: Jens Alfke <email@hidden>
  • Prev by Date: XCode 3.1 & Shark
  • Next by Date: Re: Empty project will not build
  • Previous by thread: Re: XCode 3.1 & Shark
  • Next by thread: Re: Empty project will not build
  • Index(es):
    • Date
    • Thread