Projects
Home     Blog     Install     New Ticket     View Tickets     Browse Source

Ticket #100 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

MacRuby Application development with Xcode 3.1

Reported by: davejrdn@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.3
Component: MacRuby Keywords: MacRuby Xcode 3.1 iPhone
Cc:

Description

I am new to MacRuby and use of Xcode, I have been a Java developer using Eclipse for over a decade... I am running Xcode 3.1, which supports both Mac OS X and the iPhone OS platforms. My hope was to be able to use MacRuby for Ruby development on the iTouch/iPhone.

I wanted to first go through the tutorial. I have installed MacRuby and verified it was placed in the right directories. But when I try to create a new project, it asks me to choose a template. Both the iPhone OS and the Mac OS X platforms allow you to select an Application template. But neither one lists "MacRuby Application" as one of the options. There are a number of Cocoa-Ruby application templates, but my understanding is these are a different Ruby implementation.

Is there an issue that MacRuby does not support Xcode 3.1 yet? If so, when will that be addressed? If it is not too hard, is it possibly to enable it for both Mac OS X AND the iPhone OS platforms? (please!)

I am running MacRuby 0.2. I see a 0.3 and 1.0 listed. Would one of these resolve the issue? Do I need to build from source to get these later versions?

Change History

Changed 4 months ago by rowland@…

Template issues aside, iPhone development requires Objective-C. No other languages (aside from plain C, of course) are allowed. However, Dr. Nic has a unit testing framework in Ruby, (http://drnicwilliams.com/2008/07/04/unit-testing-iphone-apps-with-ruby-rbiphonetest/) so the news isn't all bad.

Brent

Changed 4 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from MacRuby 0.2 to MacRuby 0.3

0.2 doesn't install the Xcode template for Xcode 3.x correctly, but this was fixed in trunk.

You can fix your local 0.2 installation by following the steps in http://foolsworkshop.com/rubycocoa/2008/06/missing-macruby-project-template/

As for SDK support, currently MacRuby is not supported as a development language for iPhone SDK applications, because of a few technical restrictions. Stay tuned for more updates.

Note: See TracTickets for help on using tickets.