[MacRuby] #1000: Xcode fails to load bridgesupport file automatically for user created framework

MacRuby ruby-noreply at macosforge.org
Wed Nov 17 08:50:35 PST 2010


#1000: Xcode fails to load bridgesupport file automatically for user created
framework
----------------------------------+-----------------------------------------
 Reporter:  al_skipp@…            |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:  bridgesupport        
----------------------------------+-----------------------------------------
 When linking to a framework that includes a bridgesupport file, it is
 necessary to explicitly call 'load_bridge_support_file' with the path to
 the file.

 Included is a very simple framework that defines one class (TestBlock)
 with one method:

 - (void)callBlock:(void (^)())block;

 If the framework is included in a project it is possible to create a
 'TestBlock' object within macruby, but calling the method 'callBlock',
 will fail. eg

 b = TestBlock.new
 b.callBlock( Proc.new {puts "hello from ruby"} ) #fails

 The code will succeed if 'load_bridge_support_file' is used first.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1000>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list