Re: Create dmg during release build phase
Re: Create dmg during release build phase
- Subject: Re: Create dmg during release build phase
- From: Alex Curylo <email@hidden>
- Date: Sat, 21 Jun 2008 06:24:55 -0700
On 21-Jun-08, at 6:13 AM, email@hidden wrote:
Is there a way to make Xcode automatically create a dmg for the
release build? I've searched for scripts to plug in to Xcode, but
haven't been able to get the ones I've found to work. Any help is
much appreciated.
This one's working for us nicely as a Run Script phase.
**********************************
#!/bin/sh
#
# If this doesn't work, you probably need to install DMG Canvas.
#
# 1. Get it from http://www.araelium.com/dmgcanvas/
#
# 2. Run it, and select "dmgCanvas Tool" from the "DMG Canvas" menu.
# Once you create the dmgcanvas link, the below should work.
#
if [ "${CONFIGURATION}" = "Release" ]; then
cd installer
dmgcanvas -t dialpad.dmgCanvas -o ../build/Release/Companion.dmg
fi
**********************************
Besides installing DMG Canvas as mentioned, it also counts on a folder
"installer" at the same level as the project with the DMG Canvas
document "dialpad.dmgCanvas" inside.
--
Alex Curylo -- email@hidden -- http://www.alexcurylo.com/
Drugs may not be the answer...
but they do help you forget the question quite nicely.
_______________________________________________
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