Re: Changing build settings based on archive-vs-run?
Re: Changing build settings based on archive-vs-run?
- Subject: Re: Changing build settings based on archive-vs-run?
- From: Fritz Anderson <email@hidden>
- Date: Thu, 10 Apr 2014 10:31:56 -0500
On 9 Apr 2014, at 11:56 AM, Aaron Burghardt <email@hidden> wrote:
> Is there a way to get it to output the actual values that will be used for a given action? I.e., when archiving, some of the paths are altered and differ from what is reported by this command or by other ways of displaying them, such as enabling "show environment variables" on a Run Script build phase.
My experiment shows that
xcodebuild -showBuildSettings archive
dumps the settings rather than performs the action. The dump contained no $ characters, suggesting to me that it is net of build-variable substitutions. (The suggestion that Xcode changes build-time settings other than $ACTION or values depending on it disturbs me.)
But I haven’t verified this in detail. You say you’ve inspected the results and found them not to be as they will be used? That sounds like a bug to me. I’d think what you’re looking for could be derived strictly from the build system, so xcodebuild should know. (Usual caveat about SMOP.)
File a radar.
— F
--
Xcode 5 Start to Finish — None authentic without the title on the cover. Ask for it by name.
_______________________________________________
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