Re: Project build correctly in xCode but failed with xcodebuild
Re: Project build correctly in xCode but failed with xcodebuild
- Subject: Re: Project build correctly in xCode but failed with xcodebuild
- From: Chris Espinosa <email@hidden>
- Date: Thu, 2 Oct 2008 10:45:40 -0700
On Oct 2, 2008, at 3:07 AM, Quentin Arnault wrote:
I have a little problem with xcodebuild command. My project
correctly build when I'm under xCode application, but I have a
compilation build failure when I use xcodebuild command.
The only "exotic" thing is that the code in the file which does not
compile is C code (and not Objective-C). Maybe there is a problem
there.
You're probably building a different configuration when using
xcodebuild. The Xcode application builds whatever configuration you
last picked in the Active Configuration popup; the command-line tool
builds the designated "default configuration" in the project's
Configurations tab. Use xcodebuild -configuration Debug (or whatever)
to get the desired results at the command line.
To figure out why your xcodebuild default configuration isn't
building, please post the details of the command that failed.
Chris
_______________________________________________
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