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 S
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
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
On Feb 8, 2011, at 5:30 AM, Martin Hawkins wrote:
> Thank you for the replies.
>
>>> On 8/02/2011, at 10:50 PM, Laurent Sansonetti wrote:
>>
Hi Martin,
>>
There is a way: if you copy the .bridgesupport files of your system inside
your application's bundle, under the Resources/Br
Thank you for the replies.
> > On 8/02/2011, at 10:50 PM, Laurent Sansonetti wrote:
>
> >> Hi Martin,
>
> >> There is a way: if you copy the .bridgesupport files of your system inside
> >> your application's bundle, under the Resources/BridgeSupport directory,
> >> MacRuby should look at them in
Yep it does.
But if you copy the BridgeSupport file under the "special"
Resources/BridgeSupport directory of your .app bundle, you do not need to pass
the full path nor use #load_bridge_support_file. You can just use #framework as
before.
Laurent
On Feb 8, 2011, at 1:56 AM, Robert Payne wrote
If you specify a full path does Bridge Support behave this way? Such as
load_bridge_support_file NSBundle.mainBundle.pathForResource("MyFramework",
ofType:"bridgesupport")
Robert
On 8/02/2011, at 10:50 PM, Laurent Sansonetti wrote:
> Hi Martin,
>
> There is a way: if you copy the .bridgesuppo
Hi Martin,
There is a way: if you copy the .bridgesupport files of your system inside your
application's bundle, under the Resources/BridgeSupport directory, MacRuby
should look at them in priority.
Examples:
Foo.app/Contents/Resources/BridgeSupport/Foundation.bridgesupport
Foo
I installed BridgeSupport Preview 3 in order to resolve some issues
related to errors looking up constant values. The new BridgeSupport
worked fine and the application I have been working runs fine. I have
'embedded' MacRuby so that it can be distributed but here I come
unstuck.
When run on a comp