Skip to Content

Installing the iPhone Developer Toolchain: A simple How-To

Yesterday, stepping into iPhone development got a lot easier. "Kroo", an iPhone developer, put together this Binary Toolchain Installer for Intel Macs. Instead of taking two days to download, debug and compile, installation takes a few minutes. Download a copy and install and you're set to start programming.

You'll need to copy your iPhone files to your Macintosh for the toolchain (and the toolchain installation) to work. You can either use a tool like scp -r and connect to your hacked iPhone or you can copy the file system from one of the iTunes restore software dmgs--google for details. Rename the root of the iPhone file system "heavenly" and place it into /usr/local/arm-apple-darwin. Then run the installer.

One more thing: All the makefiles I have posted here at TUAW use the old toolchain. To use my makefiles with this new toolchain, you'll need to update the Makefile header as such.

Looking for a little hand-holding? Head over to irc.osx86.hu and connect to #iphone-uikit.



Categories

How-tos iPhone

Yesterday, stepping into iPhone development got a lot easier. "Kroo", an iPhone developer, put together this Binary Toolchain Installer for...
 

Add a Comment

*0 / 3000 Character Maximum

26 Comments

Filter by:
Harley

I'd like to know if I can use the same restore image for the toolchain even if I'm using firmware 1.1.1

I've looked all over and no-one has even asked that question.

October 24 2007 at 2:13 AM Report abuse rate up rate down Reply
ecume

um - "run the installer" means that 'ooo shiny!!' app that you are told to run in the "DMG dir". Assuming the DMG dir is the 'heavenly' dir the shiny app launches then quits on my mac intel. :-/

September 29 2007 at 10:02 AM Report abuse rate up rate down Reply
Raquel

Is a PPC version of this toolchain going to be made available? I'm dying to try my hand at developing some iphone apps!!!

September 20 2007 at 9:52 AM Report abuse rate up rate down Reply
Will

tankko:

You can copy straight off the phone, if you have rcp/ssh installed on it. However, as you pointed out, there is a problem, you need to copy the whole thing. You don't need every file from the user media directory but you need some of them. So there is no one command thats going to do it.

If you're going to do it this way put everything into a new directory called "heavenly" at "/./usr/local/arm-apple-darwin" So the Applications folder from the iPhone would be at "/usr/local/arm-apple-darwin/heavenly/Applications" And you'll need to use "sudo rcp -r"

I recommend decrypting the DMG. Its easier, quicker and you get a clean/unmodded copy of the file system.


September 12 2007 at 2:13 PM Report abuse rate up rate down Reply
CyberGreg

Erica - thanks so much for such excellent iPhone information. I just downloaded the new toolchain and thanks for the info on the updated makefiles.

AS always - you ROCK!
CG

September 12 2007 at 11:12 AM Report abuse rate up rate down Reply
Will

I really think its better to use the unmodded restore file. If you don't, you need to get the entire iPhone file system, save you user data like music, photos, etc. Because you don't want all 8GBs, there is no one easy command to do it. If you want to use rcp, place everything in "/usr/local/arm-apple-darwin/heavenly/"
So the Applications directory from the iPhone would be /usr/local/arm-apple-darwin/heavenly/Applications/

September 12 2007 at 9:04 AM Report abuse rate up rate down Reply
Troykapoika

I would really like to have wget on the iPhone. Will this allow me to compile it?

September 12 2007 at 1:40 AM Report abuse rate up rate down Reply
Tankko

Will:

It seems that I can copy right off the iphone, so I would not need to do anything "fishy" with the .dmg file. Since I have rcp working off my iphone already, I'm just trying to find out the exact thing I need to copy off. Based on the post, I can only assume I am to copy the entire root directory, but that includes 8G of music and movies.

September 11 2007 at 11:59 PM Report abuse rate up rate down Reply
Fritz Laurel

Hey Erica, maybe you could flag these as "iPhone Development" posts with its own category so non-developers can distinguish/sort regular iPhone posts from dev posts.

Personally, I like the dev posts. Keep 'em coming.

Cheers,
FL

September 11 2007 at 9:03 PM Report abuse rate up rate down Reply
Dave

Nope, neither seems to work under Leopard. Damn!

September 11 2007 at 8:29 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.