Re: Making my release build
Re: Making my release build
- Subject: Re: Making my release build
- From: Scott Tooker <email@hidden>
- Date: Tue, 16 Nov 2004 17:50:18 -0800
I've posted about this before, but here is the quick version of how to
set up the build styles so they build into separate locations. This
only fully works on Xcode 1.5 using native targets. In a future release
of Xcode we want to make it the default behavior that build styles
build in separate locations.
To make things easier, I'd set a custom built products location in the
project inspector and then have the intermediates folder exist inside
the build products location (you can have the intermediates folder in a
totally custom location, but then you'll need to override 'Development
Intermediates Path' also.
First, in the 'Development' build style (or whatever style you use for
development):
- set 'Development Build Products Path' to '$(value)/Debug'
- set 'Product Name' to '$(value)Debug'
Do the same in the Deployment style (except use Release or some other
identifier).
Finally, if you are building an application or framework, you'll need
to set the CFBundleExecutableKey to be '$(PRODUCT_NAME)'.
Now 'Clean All' and rebuild with each build style. They should be in
separate locations.
That should be it.
Scott
On Nov 11, 2004, at 11:02 AM, David Dunham wrote:
I realize this is a real basic question, but Xcode is so different
from CodeWarrior that I just can't figure it out.
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.
--
David Dunham Macintosh Game Developer GameHouse Studios
email@hidden 206 442 5881 x22 http://www.gamehouse.com
"They said it couldn't be done but sometimes it doesn't
work out that way." -- Casey Stengel
_______________________________________________
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
_______________________________________________
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