• 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
Passing PREPROCESSOR_MACROS as input to XCode build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing PREPROCESSOR_MACROS as input to XCode build


  • Subject: Passing PREPROCESSOR_MACROS as input to XCode build
  • From: Yuichi Kuroda <email@hidden>
  • Date: Fri, 15 May 2009 18:36:07 -0500
  • Acceptlanguage: en-US
  • Thread-topic: Passing PREPROCESSOR_MACROS as input to XCode build

I’m currently running an xcode build via an Automator job. I’d like to set a PREPROCESSOR_MACROS (ie. BUILT_BY_AUTOMATOR=1) only when the build is performed through the Automator. I was wondering if this is possible, some sort of way to pass an envrironment variable as input to the xcode build.

 

An alternative method I’m using right now is by creating a new build configuration, a duplicate of the Debug configuration (say, Debug2). But the only difference between the two is that I’m setting that one extra environment variable in the new configuration, which seems too inefficient.

 

- Yuichi

 _______________________________________________
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: Passing PREPROCESSOR_MACROS as input to XCode build
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Release Version Not Appearing
  • Next by Date: Re: Passing PREPROCESSOR_MACROS as input to XCode build
  • Previous by thread: Re: Can't strip internal 'C' function symbols in framework product
  • Next by thread: Re: Passing PREPROCESSOR_MACROS as input to XCode build
  • Index(es):
    • Date
    • Thread