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.
Share
Source: http://iphone.natetrue.com/
Yesterday, stepping into iPhone development got a lot easier. "Kroo", an iPhone developer, put together this Binary Toolchain Installer for...
Add a Comment
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.
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 Permalink rate up rate down ReplyIs 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 Permalink rate up rate down Replytankko:
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.
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
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/
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 Permalink rate up rate down ReplyWill:
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.
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
Nope, neither seems to work under Leopard. Damn!
September 11 2007 at 8:29 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Verizon Leather Sleeve for Tablets for $4 + free shipping
- Wicked Jaw Breaker Noise-Isolating In-Ear Headphones for $6 + free shipping
- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



26 Comments