[MacRuby-devel] BridgeSupport Requirement

Martin Hawkins martin.hawkins at gmail.com
Wed Feb 9 03:00:05 PST 2011


You are right. I don't know what I was thinking - I included
the .bridgesupport files for the frameworks I was using but the
problem lay outside that - as you say, in HIServices.

I'll amend the build and try again and let you know the result.
Thanks for persisting :)

On Feb 9, 10:21 am, Laurent Sansonetti <lsansone... at apple.com> wrote:
> 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
>


More information about the MacRuby-devel mailing list