That seems to be a bridgesupport bug to me :( I also encountered some issues and I think someone is looking into it.

- Matt

On Sat, Jan 9, 2010 at 3:50 AM, Carlo Zottmann <carlo@zottmann.org> wrote:
Hi list,

my name's Carlo Zottmann, I'm from Germany, and currently diving into
MacRuby. I've ran into some BridgeSupport troubles which are driving
me nuts when trying to access the Keychain, couldn't get it to work,
and now here I am. :)

I'm running MacRuby 0.5b2 on Snopard. Here's what's happening for me.

I did a `gen_bridge_metadata -f Security -o
~/Library/BridgeSupport/Security.bridgesupport`. No problems there.
But in IRB I run into some issues: I do a

   load_bridge_support_file "Security.bridgesupport"

which returns "main" (which I suppose is okay), yet trying to access
`SecKeychainAddGenericPassword` etc., I end up with a "NameError:
uninitialized constant SecKeychainAddGenericPassword". Trying to do

   framework "Security"
   load_bridge_support_file …

in the same IRB session dumps me to the shell with "malloc: … pointer
being freed was not allocated" message.

Any help you guys could give me would be highly appreciated! I'm
completely stumped at this point.

Many thanks in advance, kind regards,
Carlo


--
Carlo Zottmann
Munich, Germany.  --  http://carlo.zottmann.org

TwerpScan -- Anti-Fool Twitter Contact Management Tool. http://twerpscan.com/
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel