Hi, is there a way to sign with one's dev certificates a game made with Ruby/Gosu, so it can be uploaded to the Mac App Store? I'm sorry if I'm asking something obvious, but I've only used Xcode for Objective C/C++ projects...
I'd just read this link today and was tempted to buy a MAS account to try the same with Ruby/Gosu: http://astonj.com/tech/how-to-submit-your-macruby-app-to-the-mac-app-store/
I am not sure if my slightly Frankensteiny .app wrapper is MAS compatible. For one thing, all the binaries are fat and contain a PPC part. Also the menu bar is a bit messy. How tough are the MAS restrictions?
Ruby/Gosu also supports MacRuby now, but I have never tested anything beyond the Tutorial.rb script. MacRuby may allow you to precompile your game into a standard Mac binary, which is cool either way.
If anything does not work, let me know — the MAS is definitely a place where I want to go with Gosu too.
Thanks! I'll try to install macruby via rvm and see if gosu works well with some sample code I have.
Does anyone else have problems with requiring the Gosu gem from MacRuby?
normandy:Gosu benko$ irb
irb(main):001:0> require 'rubygems'
irb(main):002:0> require 'gosu'
LoadError: dlopen(/Users/benko/.rvm/gems/macruby-0.10/gems/gosu-0.7.9.1-universal-darwin/lib/gosu.bundle, 9): no suitable image found. Did find:
/Users/benko/.rvm/gems/macruby-0.10/gems/gosu-0.7.9.1-universal-darwin/lib/gosu.bundle: no matching architecture in universal wrapper - /Users/benko/.rvm/gems/macruby-0.10/gems/gosu-0.7.9.1-universal-darwin/lib/gosu.bundle
It's weird, because the version should be attached to the name of the bundle file...
EDIT: OK, this is not something exclusive of MacRuby, it's happening to me on other implementations of Ruby too. I'm using RVM to manage different versions of Ruby in a new machine, and I cannot require gosu in any of them :( Other gems work properly, so I don't know what's wrong...
You need to pass "--platform ruby", otherwise gem will try to use the precompiled gems for C Ruby. But with Gosu 0.7.33, you would also need to install boost on your system, so I've attached a WIP build of Gosu 0.7.34. Just install this gem directly and let me know if it works. It shouldn't have any dependencies other than OS X itself.
Edit: Meh, I get a crash in the Tutorial that I don't get with C Ruby and the same gem. Seems
Image.from_text has some problem...still, it would be helpful to know if you can install it :)
The file above was crashy not just on MacRuby, I could run the Tutorial without problems with the one attached here.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill