[MacRuby-devel] [MacRuby] #165: Embeddable MacRuby.framework misses the BridgeSupport dylib files

MacRuby ruby-noreply at macosforge.org
Sun Nov 30 22:48:00 PST 2008


#165: Embeddable MacRuby.framework misses the BridgeSupport dylib files
--------------------------------+-------------------------------------------
 Reporter:  self@…              |       Owner:  lsansonetti@…          
     Type:  defect              |      Status:  new                    
 Priority:  blocker             |   Milestone:  MacRuby 0.4            
Component:  MacRuby             |    Keywords:  crash,bridge support,gc
--------------------------------+-------------------------------------------

Comment(by lsansonetti@…):

 I committed the necessary infrastructure changes as part of r762. Now
 MacRuby will load any BridgeSupport file/dylib that is inside the
 executable bundle, in Resources/BridgeSupport, prior to any other
 location.

 This means you can copy all the .dylib files inside your .app bundle and
 (in theory) your app should run on a vanilla Leopard install.

 The following should work (untested though)

 {{{
 $ mkdir /Path/To/MyApp.app/Contents/Resources/BridgeSupport
 $ find /System/Library/Frameworks -regex ".*/BridgeSupport/.*dylib" -exec
 cp {} /Path/To/MyApp.app/Contents/Resources/BridgeSupport \;
 }}}

 This will be automatized as part of the hotcocoa deploy task and be also
 available as an Xcode target.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/165#comment:3>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list