Non-executable build products?
Non-executable build products?
- Subject: Non-executable build products?
- From: Rich Siegel <email@hidden>
- Date: Wed, 13 Jul 2011 14:51:27 -0400
I have a question to which I can't easily find the answer in the
Xcode 4 manual; so I'm hoping someone here can shed some light. :-)
In my build system, I have two build targets of interest: one
for the application itself, and one which prepares a disk image
as well as a zip file, for distribution. Right now, I have a
"build release package" target which includes the application
target as a dependency, and whose build phases are simply two
"Run Script" phases, one for making the disk image and one for
making the Zip archive.
I'd like to figure out how to make the "Archive" command work
for me, so that when I do an Archive build, the dmg and the zip
file end up in the Organizer, so that I don't have to fish
through the file system for them (and of course also reap the
benefits that the Organizer has to offer). So far, though, I
haven't had any success.
The general setup mechanics seem to assume that the end product
of any given target is an executable of some sort, and that
packaging is left up to the Organizer; and the Organizer knows
how to export installer packages, and application bundles, and
that's it.
So, there's no way I've found that lets me specify (for
example), "This target produces a file in the build products
folder whose name is XXXX.zip", or "This target produces a file
in the build products folder whose name is XXXX.dmg" (and for
extra bonus points, the "XXXX" is computable from build variables).
Does anyone have any guidance or suggestions?
Thanks for any advice,
R.
--
Rich Siegel Bare Bones Software, Inc.
<email@hidden> <http://www.barebones.com/>
Someday I'll look back on all this and laugh... until they
sedate me.
_______________________________________________
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