Hi Joel,

The constant name should be Ro_MGSFOTextView. However, it looks like the BridgeSupport file isn't installed in the right path. Therefore, the file isn't loaded up when you call #framework, and the constant isn't mapped.

First, the directory inside Resources should be BridgeSupport.
Second, the file extension should be .bridgesupport.

To resume, the full path should be build/Release/MGSFragaria.framework/Resources/BridgeSupport/MGSFragaria.bridgesupport

Laurent

On Jan 11, 2011, at 12:03 PM, Joel Reymont wrote:

What should be the constant name below?

Is there a way to find out the constants defined in a framework?

Thanks, Joel

---

grep -i ro_MGSFOTextView build/Release/MGSFragaria.framework/Resources/BridgeMetadata/MGSFragaria.bridgemetadata
<constant name='ro_MGSFOTextView' type='@'/>

irb(main):001:0> framework './build/Release/MGSFragaria.framework'
=> true

irb(main):002:0> ro_MGSFOTextView
NameError: undefined local variable or method `ro_MGSFOTextView' for main:TopLevel

irb(main):003:0> Ro_MGSFOTextView
NameError: uninitialized constant Ro_MGSFOTextView

irb(main):004:0> RO_MGSFOTextView
NameError: uninitialized constant RO_MGSFOTextView


---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont





_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel