• 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: Run script, determine if archiving?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run script, determine if archiving?


  • Subject: Re: Run script, determine if archiving?
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 10 Jun 2014 09:34:32 -0500

On 6 Jun 2014, at 6:54 PM, Rick Mann <email@hidden> wrote:

> Thanks to Xcode being so utterly unsupportive of generating sources during a build, I currently can't archive my iOS app.
>
> Is there any way for a Run Script build phase script to determine if the current operation is an archive as opposed to a build?

Okay, this one I do know…

If the configuration name is a usable proxy for the action in your project, you can use $CONFIGURATION. You could make it a proxy by duplicating your Release configuration. (If you’re archiving, you’ll likely as not need a “Distribution” configuration anyway.)

Usual pointer to .xcconfig files to keep common settings in sync.

	— F


 _______________________________________________
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


References: 
 >Run script, determine if archiving? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: playground
  • Next by Date: Swift docs feed-back
  • Previous by thread: Run script, determine if archiving?
  • Next by thread: Do Archive Pre-Actions work?
  • Index(es):
    • Date
    • Thread