Re: Making my release build
Re: Making my release build
- Subject: Re: Making my release build
- From: Fritz Anderson <email@hidden>
- Date: Thu, 11 Nov 2004 14:15:35 -0600
This is one of those replies that gets offered as much in hope that
I'll be corrected as that I'm confident in its correctness.
There is a third build mode, triggered by executing
xcodebuild install
in the project directory. This executes a build without the settings in
_any_ build style,* which in the supplied template projects produces a
heavily optimized and stripped executable, at
/tmp/${PROJECT_NAME).dst/Users/$(USER_NAME)/Applications/
$(PRODUCT_NAME).app
The contemplated strategy seems to be: Use the deployment build style
for things like distributable betas, and use xcodebuild for the
honest-to-God final build. The target settings should therefore be the
final, distribution settings, with development-time variants in any (or
if necessary all) build styles.
So put the name of your final header in the Prefix Header setting in
the target, and the debug header in the Development and Deployment
styles. Typing Prefix into the search field in the style settings tab
will afford you a place to set the prefix for the style. Same thing
with Product Name.
Changing the build style does not seem to dirty the entire build tree,
as I agree with you in thinking it should. I just remember to clean
after changing styles.
* You can specify a build style to xcodebuild, but the default is to
ignore styles.
-- F
On 11 Nov 2004, at 1:02 PM, David Dunham wrote:
I've been developing my app just fine.
I now want to release it.
I want to use a separate header file (with different #defines), and
make a separate bundle (MyApp.app vs MyApp-debug.app).
Is "Development Build Products Path" what I change? (It seems to be
available for Deployment and Development styles both, which makes no
sense.)
The Prefix Header doesn't seem to be attached to a build style at all.
--
Fritz Anderson
Consulting Programmer Chicago, Illinois
http://resume.manoverboard.org/
_______________________________________________
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