Projects

Ticket #354 (closed defect: wontfix)

Opened 2 years ago

Last modified 14 months ago

Bundling framework in SL release build will not run on Leopard

Reported by: jtc331@… Owned by: lsansonetti@…
Priority: blocker Milestone:
Component: MacRuby Keywords:
Cc: jtc331@…

Description

I have an app that has the embed macruby target include when I do a release build (Xcode is set to release for 10.5) but the generated release will only work on SL machines not Leopard machines. Neither machine tested has macruby installed. It crashes with the following error in the console:

9/28/09 5:50:59 PM [0x0-0x22022].com.yourcompany.MacRuby-Sim8086[18769] dyld: Library not loaded: @executable_path/../Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib 9/28/09 5:50:59 PM [0x0-0x22022].com.yourcompany.MacRuby-Sim8086[18769] Referenced from: /Volumes/UNTITLED/MacRuby-Sim8086.app/Contents/MacOS/MacRuby-Sim8086 9/28/09 5:50:59 PM [0x0-0x22022].com.yourcompany.MacRuby-Sim8086[18769] Reason: no suitable image found. Did find: 9/28/09 5:50:59 PM [0x0-0x22022].com.yourcompany.MacRuby-Sim8086[18769] /Volumes/UNTITLED/MacRuby-Sim8086.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib: unknown required load command 0x80000022 9/28/09 5:50:59 PM [0x0-0x22022].com.yourcompany.MacRuby-Sim8086[18769] /Volumes/UNTITLED/MacRuby-Sim8086.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib: unknown required load command 0x80000022 9/28/09 5:50:59 PM com.apple.launchd[72] ([0x0-0x22022].com.yourcompany.MacRuby-Sim8086[18769]) Exited abnormally: Trace/BPT trap

Change History

  Changed 2 years ago by lsansonetti@…

Looks like the availability macros are not properly propagated from Xcode.

  Changed 2 years ago by jtc331@…

  • cc jtc331@… added

Cc Me!

  Changed 2 years ago by carlo@…

Laurent, I think this is still an issue in 0.5 final.

What did you mean with "availability macros"? Anything I can fix on my end, i.e. in my Xcode?

follow-up: ↓ 5   Changed 2 years ago by lsansonetti@…

Our framework does not support both Leopard and SnowLeopard. You can build MacRuby for Leopard or SnowLeopard. Making a version that will work on both systems is possible but is not a high priority for us, due to lack of resources.

in reply to: ↑ 4   Changed 2 years ago by carlo@…

Replying to lsansonetti@…:

Our framework does not support both Leopard and SnowLeopard. You can build MacRuby for Leopard or SnowLeopard. Making a version that will work on both systems is possible but is not a high priority for us, due to lack of resources.

Thanks for the honest answer. Oiy, that's bad for me, but hey… 0.5 and all, tight resources, I understand. :)

Is there a way for devs like me to build a combined Leopard/Snopard MR release at home? And if yes, could you please point me in the right direction (build instructions or anything else) so I can go learn about it and test my mettle?

  Changed 14 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to wontfix
  • milestone MacRuby 0.5 deleted

We no longer support Leopard.

Note: See TracTickets for help on using tickets.