Re: Strip (Question for Chris)
Re: Strip (Question for Chris)
- Subject: Re: Strip (Question for Chris)
- From: Rush Manbert <email@hidden>
- Date: Thu, 29 Sep 2005 10:46:44 -0700
Chris Espinosa wrote:
On Sep 29, 2005, at 1:48 AM, Gerriet M. Denkmann wrote:
How can I induce Xcode (2.0) to automatically strip the result of a
Deployment build?
Check the "Deployment Postprocessing" and "Strip Linked Product"
checkboxes in the target's Deployment configuration, and make sure
http://developer.apple.com/releasenotes/DeveloperTools/Xcode/XcodeBuildSettings.html
* DEPLOYMENT_POSTPROCESSING
* If this setting is turned on, then the product will be processed
for deployment and release purposes — rather than for
development and debugging purposes. As a result, the following
operations will be performed on the built product:
o If STRIP_INSTALLED_PRODUCT is YES, then the produced
binary will be stripped.
o Copy Files and Shell Script build phases set to “only run
when installing” will be processed.
o The owner, group and mode of the produced files will be
changed according to the relevant build settings.
* When performing an xcodebuild using the install build action,
this setting will be set to YES for the duration of the build.
Hi Chris,
I'm using Xcode 2.1. I have two questions:
1) If I edit my target build settings, using Configuration = Release and
Collection = Deployment, I do not find a "Strip Linked Product"
checkbox. Did this checkbox go away between 2,0 and 2.1? (There is one
called "Strip Debug Symbols from Binary Files", which was checked by
default, but it obviously doesn't achieve the desired result.) (I also
tried searching for "strip" as you suggested and it does not show
anything called "Strip Linked Product".)
2) I don't see how to set STRIP_INSTALLED_PRODUCT for the build using
the GUI. Can you give a hint?
Thanks,
Rush
_______________________________________________
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: | |
| >Strip (From: "Gerriet M. Denkmann" <email@hidden>) |
| >Re: Strip (From: Chris Espinosa <email@hidden>) |