[Rubycocoa-devel 788] Methods not found

Zurück zum Archiv-Index

Jacob Wallström jacob****@ghost*****
Thu Mar 1 00:26:09 JST 2007


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





More information about the Rubycocoa-devel mailing list
Zurück zum Archiv-Index