Re: Updating a Build Number
Re: Updating a Build Number
- Subject: Re: Updating a Build Number
- From: Chris Espinosa <email@hidden>
- Date: Tue, 23 Jun 2009 21:42:39 -0700
On Jun 23, 2009, at 6:11 PM, Seth Willits <email@hidden> wrote:
Since before Intel came around our parts, I used a simple Run script
to increment the build number of my target. But when building
Universal Binaries, this gets executed twice. Once for PPC and once
for Intel. I was too lazy to fix that. :-p But now that I'm
building 32-bit and 64-bit for both PPC and Intel, it gets executed
4 times. Where's the right place/what's the right way to handle this?
Run Script build phases shouldn't run once per architecture. The only
iteration over architectures happens within the Compile Sources phase.
That is, if you're building the target normally by setting the
Architectures build setting to the list of architectures to build. If
you've done something like clone your target so you're building four
separate targets, you shouldn't.
Could you post the text of the script?
Chris
_______________________________________________
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