b a d p o p c o r n

Launching XULRunner 1.8.1.3 on a Mac

Written by Ben on June 13, 2007 |

Ok. I started playing with XULRunner again, but this time on my Mac. I downloaded a Mac build; I went through the getting started page and reviewed the tutorial; I had my XUL application ready, and then started it up:

/Library/Frameworks/XUL.framework/xulrunner-bin application.ini

IT FAILED, ARG!!! The xulrunner-bin process launched and promptly exited, and I couldn’t find any debug information about why. I checked and double checked, but I didn’t find any problems with my super simple XUL application. I even purposely broke my sample XUL application to try to get an error message– but nothing.

SOLUTION: Out of a hunch, I followed the deployment instructions and packaged up a “MyApp.app” Mac application. I launched it from Finder– `open MyApp.app` also would’ve worked from the Terminal– and it worked like a charm. It’s kinda hackish to develop in MyApp.app/ subdirectories, but it works…

Posted in OpenSource, Technology


2 Comments »

  1. Because of MacOS any application that wants to have UI has to be bundled. For ease of development you can symlink youapp.app/Contents/Resources to your development tree.

    Comment by Benjamin Smedberg — June 14, 2007 @ 2:11 am

  2. That explains it. And I’m symlinking away, thanks!

    Comment by Ben — June 14, 2007 @ 7:59 am

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .