Re: xcodebuild ignores -buildstyle
Re: xcodebuild ignores -buildstyle
- Subject: Re: xcodebuild ignores -buildstyle
- From: Thane Norton <email@hidden>
- Date: Thu, 06 Nov 2003 11:36:53 -0800
Hey Gruby. xcodebuild ignores the -buildstyle flag. We had to add this to
our build scripts before the xcodebuild line:
chflags -R nouchg *.xcode
open *.xcode
osascript -e 'tell application "Terminal"' -e 'set reply to display \
dialog "Please select the Deployment build style and press OK"' \
-e 'if button returned of reply is "OK" then' -e 'return 0' -e \
'else' -e 'return -1' -e 'end if' -e 'end tell'
This seems to work, as xcodebuild goes off the settings in the .pbxuser
file. Note that the .pbxuser file will not get made if the .pbxproj file is
not writable.
On 11/6/03 9:32 AM, "Scott Gruby" <email@hidden> wrote:
> I'm seeing an issue using the command line xcodebuild where I specify
> -buildstyle Deployment and it completely ignores it building the active
> build style. Most of the time, the active build style is development,
> so everything gets zero linked and doesn't run on other machines.
>
> Is this a known issue? Is there a workaround? I have a Makefile which
> builds 6 different components of an app using xcodebuild and not being
> able to build Deployment is a big issue.
>
> Thanks.
>
> --
> Scott Gruby
> Palm OS Certified Developer
> Available for contract development work.
> <mailto:email@hidden>
> <http://www.gruby.com/>
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
-----------------------------------------
V. Thane Norton III
Macintosh Software Engineer
Wacom Technology Corporation
phone: 360.896.9833 x172
mailto:email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.