• 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
Re: Setting a build setting that will work as an environment variable in the build phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a build setting that will work as an environment variable in the build phase


  • Subject: Re: Setting a build setting that will work as an environment variable in the build phase
  • From: Scott Tooker <email@hidden>
  • Date: Mon, 10 Oct 2005 23:09:01 -0700

While we do a better job of passing down all build settings via environment variables in a run script build phase now, I wouldn't be surprised to find out that there were bugs in that area with Xcode 1.5.

Scott

On Oct 8, 2005, at 11:50 AM, Frode wrote:

Hi!

I'm using XCode 1.5 and trying to set a so-called build-setting that will correspond to an environment variable in the build phase.

In detail, this will be used by PBXCp so it can exclude other files than just CVS and .DS_Store in the copy process. I renamed pbxcp to pbxcp.orig and created a shell script:
#!/bin/sh
/Developer/Tools/pbxcp "$PBXCP_EXCLUDE" "$@"


(and also setting its permissions to 775)

Now, from XCode I create build setting termed PBXCP_EXCLUDE with value "-exclude info.nib -exclude objects.nib". I supposed this would work, but it doesn't. This is because my custom pbxcp-script does not see any PBXCP_EXCLUDE-variable.

What am I doing wrong? Is this supposed to work?

Thanks for any help!
/Roger

_______________________________________________
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

_______________________________________________ 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
References: 
 >Setting a build setting that will work as an environment variable in the build phase (From: Frode <email@hidden>)

  • Prev by Date: Re: Incompatibilities between home-compiled and apple's libpng
  • Next by Date: Re: Incompatibilities between home-compiled and apple's libpng
  • Previous by thread: Setting a build setting that will work as an environment variable in the build phase
  • Next by thread: Can I create a Cocoa palette based on Carbon?
  • Index(es):
    • Date
    • Thread