[Rubycocoa-devel 790] Re: Methods not found

Back to archive index

Laurent Sansonetti lsans****@apple*****
Thu Mar 1 00:48:41 JST 2007


Hi Jacob,

This is a weird problem. At a glance ISDChangeEnumerator is a valid  
subclass of NSEnumerator so there is no reason why [-objectEnumerator]  
is called on it. Could you isolate this problem in a separate/distinct  
project and send it to the list? I may be able to fix it if I can  
reproduce it.

Thanks!
Laurent

On Feb 28, 2007, at 4:26 PM, Jacob Wallström wrote:

> I'm trying out RubyCocoa pre-1.0 from the unstable branch (rev.
> 1600). One problem I have run into is the following:
>
> Exception thrown: Can't get Objective-C method signature for selector
> 'objectEnumerator' of receiver #<OSX::ISDChangeEnumerator:0x39d032
> class='ISDChangeEnumerator' id=0x15cb3590>
> /Checkedout/JacobDocs/GhostAction/trunk/GhostAction/build/Development/
> Ghost Action.app/Contents/Frameworks/RubyCocoa.framework/Resources/
> ruby/osx/objc/oc_wrapper.rb:63:in `ocm_send'
> /Checkedout/JacobDocs/GhostAction/trunk/GhostAction/build/Development/
> Ghost Action.app/Contents/Frameworks/RubyCocoa.framework/Resources/
> ruby/osx/objc/oc_wrapper.rb:63:in `to_a'
>
> I get it when I make the following call:
>
> # session is a proper ISyncSession object
> session 
> .changeEnumeratorForEntityNames(["com.apple.calendars.Calendar"])
>
> The same code was working under 0.4.3d2 (I had imported the Sync
> Services classes myself), but when trying with pre-1.0 I get the
> error above.
>
> I'm grateful for any advice.
>
> Best regards,
> Jacob Wallström
> http://ghostparksoftware.com
>
>
> _______________________________________________
> Rubycocoa-devel mailing list
> Rubyc****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel




More information about the Rubycocoa-devel mailing list
Back to archive index