[Rubycocoa-devel 851] Embedding RubyCocoa

Zurück zum Archiv-Index

Pierce T.Wetter III pierc****@twinf*****
Fri Apr 20 07:39:08 JST 2007


Ok, so I thought I followed the directions for embedding a framework  
correctly, and it seems like it works because there's a Frameworks  
folder in my application with a RubyCocoa.framework installed.

Except I get this error:

RubyFrictionless.app/Contents/Frameworks/RubyCocoa.framework/Versions/ 
A/Resources/ruby/osx/objc/oc_wrapper.rb:22:in `method_missing':  
undefined method `NSClassFromString' for OSX:Module (NameError)
         from RubyFrictionless.app/Contents/Frameworks/ 
RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: 
190:in `ns_import'
         from RubyFrictionless.app/Contents/Frameworks/ 
RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: 
154:in `const_missing'
         from RubyFrictionless.app/Contents/Frameworks/ 
RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: 
46:in `_bundle_path_for_framework'
         from RubyFrictionless.app/Contents/Frameworks/ 
RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: 
73:in `framework_loaded?'
         from RubyFrictionless.app/Contents/Frameworks/ 
RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: 
61:in `require_framework'
         from RubyFrictionless.app/Contents/Frameworks/ 
RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/cocoa.rb:9
         from RubyFrictionless.app/Contents/Frameworks/ 
RubyCocoa.framework/Versions/A/Resources/ruby/osx/cocoa.rb:7:in  
`require'
         from RubyFrictionless.app/Contents/Frameworks/ 
RubyCocoa.framework/Versions/A/Resources/ruby/osx/cocoa.rb:7
         from RubyFrictionless.app/Contents/Resources/rb_main.rb:9:in  
`require'
         from RubyFrictionless.app/Contents/Resources/rb_main.rb:9

Is there some other step I need to do?

Pierce




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