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: "Quentin Arnault" <email@hidden>
- Date: Fri, 3 Oct 2008 09:59:01 +0200
Hi,
Thank you for your help. You were right, I need to add a configuration option in the xcodebuild command line. Now it works by adding another option (sdk). Thank you very much.
Best regards,
Quentin ARNAULT
On Thu, Oct 2, 2008 at 7:45 PM, Chris Espinosa
<email@hidden> wrote:
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