• 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
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]

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


  • Subject: Setting a build setting that will work as an environment variable in the build phase
  • From: Frode <email@hidden>
  • Date: Sat, 8 Oct 2005 20:50:22 +0200

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


  • Follow-Ups:
    • Re: Setting a build setting that will work as an environment variable in the build phase
      • From: Scott Tooker <email@hidden>
  • Prev by Date: [SOLVED] C++ in a Cocoa App - How Hard is THAT?
  • Next by Date: [SOLVED] C++ in a Cocoa App - How Hard is THAT?
  • Previous by thread: Re: [SOLVED] C++ in a Cocoa App - How Hard is THAT?
  • Next by thread: Re: Setting a build setting that will work as an environment variable in the build phase
  • Index(es):
    • Date
    • Thread