Macruby on OS X Mavericks

来源:互联网 发布:java面试宝典2015pdf 编辑:程序博客网 时间:2024/05/08 19:47

2
down votefavorite
1

I'm running OS X Mavericks and installed MacRuby last week in order to make a simple app in it. Anything I try to run in Xcode (even Hello World app or a downloaded example), I always get "Build Failed" and really similar errors to this:

enter image description here

I found in some forums that th Garbage Collection is really deprecated etc. but I could't find any solution. Therefore I would be very glad if someone has a solution for this.

And no, I can't just work in Objective-C since it's far too complicated for me and apps I'd make :)

Thank you!

share|improve this question
 

2 Answers

activeoldestvotes
up vote2down voteaccepted

MacRuby isn't currently compatible with 10.9, not just because of the garbage collector, but due to changes in the Objective-C runtime, LLVM, and Xcode. There is a thread (titled "Mavericks and Macruby") going onright now on the macruby-devel mailing list about these issues. Joshua Ballanco's message especially sheds a lot of light on what it would take to keep MacRuby going.

You can still use the garbage collector by setting GCC_ENABLE_OBJC_GC = supported in Xcode; but as I said, it won't make MacRuby actually usable (yet).

share|improve this answer
 
 
thanks for an explanation.. too bad that I decided to learn macruby when it is not usable anymore :D –  kellinsNov 8 '13 at 13:53 
 
Yeah... it really is a shame (unless someone is able to fix it!) –  echristopherson Nov 8 '13 at 17:00
up vote1down vote

I suggest people interested in cocoa in ruby help out refining the cocoa gem instead of hoping for any progress on macruby which is abandoned by its creators for commercial interests. The cocoa gem is quite useful already, but need to mature a bit in some cases.

https://github.com/patrickhno/cocoa

DISCLAIMER: Yes I am the author.


0 0
原创粉丝点击