Hi Martin,

Are you sure you embedded the BridgeSupport file defining the kInternetEventClass constant?

Looking on my system, it's in the HIServices.bridgesupport file.

You need to embed all BridgeSupport file dependencies, not only Cocoa or Foundation. Here is a command snippet that will embed *all* of them:

$ find /System/Library/Frameworks -name "*.bridgesupport" -exec cp {} /path/to/MyApp.app/Contents/Resources/BridgeSupport \;

That is going to increase your app bundle of about 7MB. You can remove the frameworks files you don't use after,. The solution we will implement in macruby_deploy might be a bit smarter by only embedding the files you need. 

Laurent

On Feb 9, 2011, at 12:24 AM, Martin Hawkins wrote:

Laurent,
Your suggestion didn't work. We've taken to defining the constants
locally (it's KInternetEventClass KAEGetURL for NSAppleEventManager
that are causing all this).
I'm having difficulty testing this because I'm relying on a third
party to do so - I had to upgrade both my iMac and Powerbook to
BridgeSupport Preview 3, so unless I can roll back on one of them
(which you said was difficult) it's going to be hard to fix this.

regards
Martin

On Feb 8, 10:54 pm, Laurent Sansonetti <lsansone...@apple.com> wrote:

Seems good! Let us know if it does not work.

I think we should add an option to macruby_deploy to automate this. Could you file a ticket?

Will file a ticket now.

Thanks. I added the 0.9-blocker keyword, as I think it should go with the --gem option too.

Laurent

_______________________________________________
MacRuby-devel mailing list
MacRuby-de...@lists.macosforge.orghttp://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel