iPod Touch League

Unleash the Power of Your iPod and iPhone

Using the iPhone SDK on a PowerPC







Featured Post by Mike Rundle »

Don’t Have An Intel Machine But Want To Code For The iPhone Anyway? Follow These Steps

I’ve got an Intel iMac and an older iBook G4, and before I read the “fine print” about the SDK only working on Intel machines, I had already started the download to my iBook (gimme a break, I was in bed!) After it downloaded I opened the main iPhone SDK package and noticed that no iPhone-specific things were listed under what it was about to install. I let it run its course, opened up Xcode, and just as I thought, it didn’t list the iPhone anywhere under available platforms, no Cocoa Touch application templates, etc.After doing some quick folder surfing, I got it to work: the SDK lets me develop for the iPhone, the emulator runs flawlessly, and all the documentation is available. Here are the steps I took:

  1. Once you’ve installed all the packages you’re allowed to install, go back into the mounted DMG and go into the Packages folder.
  2. See all the Aspen packages at the top? Double-click on them and install them, one at a time.
  3. You should now have a Platforms folder in your default installation directory, which for these packages is probably at the root level of your hard drive. Make sure it’s there.
  4. In that Platforms folder is where all of the iPhone-related SDK stuff was installed. Take everything in that folder and put it into the /Developer/Platforms/ folder in your main Developer directory.
  5. Restart Xcode (if you had it open) and you should be greeted with new choices for iPhone applications as well as the AspenSimulator device to test your code on.

The only oddity I’ve encountered so far is that you get 1 Warning when you build, because the target architecture doesn’t match (PPC vs. i386) but that’s to be expected. Also I don’t know if the certificates that Apple hands out once you’ve paid your $99 fee will work perfectly with this system, so for now I’d simply use it as a development environment and plan to get an Intel box running with the SDK sometime between now and June’s AppStore launch. It should be noted that I’ve got Leopard running on the iBook. But, it works!

(Taken by Kirbymaster from http://3by9.com/85/ written by Mike Rundle)