• 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: Updating a Build Number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Updating a Build Number
      • From: Seth Willits <email@hidden>
References: 
 >Updating a Build Number (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Code sign issues
  • Next by Date: Re: where is the right place to ask RubyCocoa on Xcode related question
  • Previous by thread: Updating a Build Number
  • Next by thread: Re: Updating a Build Number
  • Index(es):
    • Date
    • Thread