• 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: shell script in deployment builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell script in deployment builds


  • Subject: Re: shell script in deployment builds
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 15 Aug 2004 11:52:12 -0600

On Aug 15, 2004, at 9:01 AM, Matt Neuburg wrote:

Clearly *you* think what I was doing was a deployment build, and *I* think
what I was doing was a deployment build, but Xcode does *not* think it was a
deployment build (or at least this checkbox does not think so), since the
shell script did not run. Therefore I am wondering what this checkbox thinks
*is* a deployment build.

FWIW, I've never been able to get that check box to work in any version of Xcode, or Project Builder before it. I think you'd be better off by writing something like this into your shell script, assuming you're using Bash: (warning - written in Mail, untested, use at your own risk)


if [ "${BUILD_STYLE}" = "Deployment" ]; then
# do stuff that will be done in a Deployment build...
fi

I keep forgetting to file a bug report about this...

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

"They [our enemies] never stop thinking about new ways to harm our country and our people, and neither do we. We must never stop thinking about how best to offend our country." - George W. Bush (August 5, 2004)
_______________________________________________
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.



References: 
 >Re: shell script in deployment builds (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: shell script in deployment builds
  • Next by Date: Re: as questions
  • Previous by thread: Re: shell script in deployment builds
  • Next by thread: Re: shell script in deployment builds
  • Index(es):
    • Date
    • Thread