• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Create dmg during release build phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Create dmg during release build phase
      • From: Grant Limberg <email@hidden>
  • Prev by Date: Re: Interface Builder changes IDs in XIB files on open/save
  • Next by Date: Re: Interface Builder changes IDs in XIB files on open/save
  • Previous by thread: Re: AppleScripting Xcode
  • Next by thread: Re: Create dmg during release build phase
  • Index(es):
    • Date
    • Thread