jeanp****@gmail*****
jeanp****@gmail*****
Fri Apr 20 12:00:47 JST 2007
On 4/19/07, Pierce T. Wetter III <pierc****@twinf*****> wrote: > > > 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 this looks very similar to jarrad's backtrace that he posted to the rubycocoa-talk list yesterday - are you on that list as well? might you be embedding a thin rubycocoa framework and your application crashes when run on the other architecture? with some more information we might be able to better help. cheers, jean-pierre -------------- next part -------------- An HTML attachment was scrubbed... Download