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, 03 Apr 2014 17:27:09 -0500
On 3 Apr 2014, at 5:05 PM, Fritz Anderson <email@hidden> wrote:
> One could wish (grinding teeth) one could get a complete .xcconfig out of an existing configuration. I think you’re _supposed_ to be able select multiple rows and copy them, but every version of Xcode has its own way of not making it work.
Protip for technical writers: Once you’re done writing about something there’s no point in remembering it.
There’s an xcodebuild option that will dump build settings for a configuration:
====
$ xcodebuild -showBuildSettings -configuration Release
Build settings for action build and target "Passer Rating":
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = NO
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = fritza
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = YES
...
====
You can also use the -project and -target switches to narrow your focus (otherwise xcodebuild guesses at both).
Picked up at WWDC; not in the man page.
— F
--
Xcode 5 Start to Finish: Go ahead and hold your breath, it won’t be that long.
_______________________________________________
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