Re: Run script, determine if archiving?
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