Noob Learning with Xcode 4 and 10.6 SDK
I'm brand new to Macruby and having trouble getting started at even the "Hello World" level. I have the Macruby Peepcode screencast and the beta version of the MacRuby version for O'Reilly. What I've found is that XCode 4.0 is dramatically different then what I saw with XCode 3.0 in the screencast so I'm having trouble following along with the tutorial. Additionally, I also ran into problems trying to run Matt Aimonetti's sample code at https://github.com/mattetti/MacRuby--The-Definitive-Guide.git. I ran into "missing base SDK 10.5", I have 10.6 not 10.5. Can someone suggest a learning strategy with the best available tutorial/documentation? I'm guessing I should try learning with XCode 3.0 because XCode 4.0 is still too new right now?
Did you download the latest version of my book covering Xcode4? I'll also check on the git repo to make sure everything is up to date. - Matt Sent from my iPhone On Apr 4, 2011, at 12:15, Tim Case <tcrails1@gmail.com> wrote:
I'm brand new to Macruby and having trouble getting started at even the "Hello World" level. I have the Macruby Peepcode screencast and the beta version of the MacRuby version for O'Reilly. What I've found is that XCode 4.0 is dramatically different then what I saw with XCode 3.0 in the screencast so I'm having trouble following along with the tutorial. Additionally, I also ran into problems trying to run Matt Aimonetti's sample code at https://github.com/mattetti/MacRuby--The-Definitive-Guide.git. I ran into "missing base SDK 10.5", I have 10.6 not 10.5. Can someone suggest a learning strategy with the best available tutorial/documentation? I'm guessing I should try learning with XCode 3.0 because XCode 4.0 is still too new right now? _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Matt thanks for the help! I'm checking the xcode chapters of your book. The following article by the Redwood guys helped me get passed some problems I was having and I think I successfully surpassed the hello world level. I can now successfully build a macruby project using Xcode 4, so I'm going to stick with it. I'm going to keep working through the examples in your book and forgo the peepcode screencast for now. http://redwoodapp.posterous.com/macruby-and-xcode-4-build-a-self-contained-m...
I was able to get the demo project for chapter 2 of Matt's book code to successfully build. What worked for me was to track down in xcode all of the alerts about the missing 10.5 sdk and I found that you could change the 10.5 sdk over to 10.6. Then I got an error on build saying "Path does not exist", for this I used the referenced link above, http://redwoodapp.posterous.com/macruby-and-xcode-4-build-a-self-contained-m..., and added the demo app target to build before the compile target. I also changed the valid architecture to x84_64 only as mentioned in the article for good measure.
Tim, I'm about where you are, though I've decided to swat up both MacRuby and O-C, and am starting with O-C. I've pretty much puzzled my way through the Xcode 3 vs 4 changes, and would be happy to exchange chat addresses if you'd like to be able to fire off the occasional WTF? -Bryan On Apr 4, 2011, at 12:15 PM, Tim Case wrote:
I'm brand new to Macruby and having trouble getting started at even the "Hello World" level. I have the Macruby Peepcode screencast and the beta version of the MacRuby version for O'Reilly. What I've found is that XCode 4.0 is dramatically different then what I saw with XCode 3.0 in the screencast so I'm having trouble following along with the tutorial. Additionally, I also ran into problems trying to run Matt Aimonetti's sample code at https://github.com/mattetti/MacRuby--The-Definitive-Guide.git. I ran into "missing base SDK 10.5", I have 10.6 not 10.5. Can someone suggest a learning strategy with the best available tutorial/documentation? I'm guessing I should try learning with XCode 3.0 because XCode 4.0 is still too new right now? _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Okay I'm making more progress, I could successfully build the Chapter 2 project but the app strangely wouldn't run. I've learned you need to change the scheme to "Demo", I had it set to "Compile". Now I can play with the built project. https://img.skitch.com/20110404-f14g9axd2a9t47epbbts5ygtmp.jpg
participants (3)
-
Bryan Harrison
-
Matt Aimonetti
-
Tim Case