Thanks to Benjamin Smedberg, I can now run zap (Mozilla's SIP stack) on my Mac. To be able to run xulrunner apps on a macintosh one needs to install them. You can either install a .xpi file or a directory, I've installed two xulrunner applications, Simple and Zap using the following commands:
cd mozilla/dist/bin
./xulrunner-bin --install-app ../xpi-stage/zap
./xulrunner-bin --install-app ../xpi-stage/simple
This creates zap.app in /Applications/Mozilla and simple.app in /Applications/Mozillatest, these files can be launched like any applications. They don't have custom icons, but that's mainly because, non are provide in the application folder I supose.
If nothing happens when you double click on your newly installed Applications and if you have the following message in your system log :
Could not find compatible GRE between version 1.9a1 and 1.9a1.
This simply means you don't have the Xul runner framework installed. You need to copy XUL.Framewok (from your dist directory) to /Library/Frameworks.
cp -Rp XUL.framework /Library/Frameworks/
And now you can launch your application.

Leave a comment