Compiling Growl 1.3 for Lion

 To begin, make sure you have removed any previous versions of Growl. Instructions here.

You will need to install Mercurial, which can be found here.

Once installed input the following from a terminal:

mkdir ~/Desktop/tmp
cd ~/Desktop/tmp
hg clone https://code.google.com/p/growl/
cd growl

At this point you need to open Keychain Access as we have to self sign a certificate for xcode to use in building Growl. In Keychain Access, go to the application menu and choose:

Keychain Access > Certificate Assistant > Create a certificate

In the box that appears, change the name to:

3rd Party Mac Developer Application: The Growl Project, LLC 

Select the Certificate Type 'Code Signing' and click create accepting the trust warnings. Go back to the terminal window and use the following to compile Growl:

xcodebuild -project Growl.xcodeproj -target Growl.app -configuration Release

As the program compiles a warning about the self signed certificate (previously created) will appear. Click 'Always Allow'. Using a self signed certificate is not ideal, if you rather, Growl can be purchased through the Apple App Store. Once compiled correctly with no errors, copy the program into your Applications folder. The path of the compiled program can be seen above the ** BUILD SUCCEEDED ** line. In this case:

~/Desktop/tmp/growl/build/Release/Growl.app

Finally use to following to move the program to the Applications folder:

mv ~/Desktop/tmp/growl/build/Release/Growl.app /Applications/

Then:

open /Applications/Growl.app/

This will run Growl. Select what options you like. Lastly clean up the tmp build folder unless you want to keep it for future builds. If not (always be careful when using rm for the terminal especially with the -r switch) then:

rm -r ~/Desktop/tmp/
Written on February 16, 2012