From: harry <hv...@ch...> - 2004-05-30 11:00:43
|
> Message: 1 > From: Kevin Bullock <krb...@ma...> > Date: Fri, 28 May 2004 00:41:41 -0500 > To: rub...@li... > Subject: [Rubycocoa-talk] Re: Rubycocoa-talk digest, Vol 1 #52 - 1 msg > Reply-To: rub...@li... > [...] > In doing so, you removed the things that disappeared from Cocoa in=20 > 10.3, but you didn't add support for any of the new things that=20 > appeared. To do that, all you have to do is re-run the script that=20 > generates the class bindings: > > % cd framework/src/objc/cocoa/ && ruby gen_cocoa_wrapper.rb > > Then re-configure and re-build as normal. That should get you going. Thx for the tip, but unfortunately it didn't solve my problem ... I get the same error-message mentioned before ... If I do the tutorial on Apple's ADC-site (http://developer.apple.com/cocoa/cocoabindings.html) as a ruby-project, and run from Xcode, I get a different message: 2004-05-30 12:49:15.280 bindprefs[3209] *** -[NSCFNumber bytes]: selector not recognized /Users/hvs/tmp/bindprefs/build/bindprefs.app/Contents/Resources/ rb_main.rb:19:in `NSApplicationMain': NSApplicationMain - NSInvalidArgumentException - *** -[NSCFNumber bytes]: selector not recognized (OSX::OCException) from /Users/hvs/tmp/bindprefs/build/bindprefs.app/Contents/Resources/ rb_main.rb:19 The Objective-C version is working fine. Is Cocoa Bindings working with RubyCocoa? Any successtories amongst the listas? If so, it may just be a shaky install on my system ... Harry |