views:

1757

answers:

5

It has been said elsewhere that developing for iPhone requires an Intel-based computer, but this doesn't seem to be the case according to the few introductory Apple docs I've read. See this for example, which says merely, "To develop applications for iPhone OS, you need a Mac OS X computer running the Xcode tools." Can anyone provide a reference?

A: 

Hm, I believe Apple says it's intel-only, but there are certainly cases of people getting at least part of it working on PPC: http://arstechnica.com/apple/news/2008/03/iphone-sdk-not-just-intel-only-anymore.ars

There are other hits on Google that tell you how to set it up.

BRH
+1  A: 

Cnet has instructions on setting it up on PPC. Just remember that Apple's not likely to be much help with it - it's entirely unsupported, as it requires a hack to even work in the first place.

ceejayoz
+8  A: 

I have successfully compiled, simulated and device debugged iPhone apps from a PowerPC G5 for every version of the iPhone SDK up to but not including iPhone SDK 3.0.

You only need to edit two things: change Xcode's installer script so the installer will install it on a PowerPC and change the default Simulator configuration so it considers PPC a valid simulator target architecture.

It is sometimes flakey installing onto a device from a PPC but it will work.

For iPhone SDK 3.0, Apple have not built the Interface Builder components with PPC code. This means it is impossible (no hack or workaround) to use the SDK 3.0 Interface Builder. The fun of building and running iPhone apps on the PPC will end soon -- likely Snow Leopard where Xcode itself will likely lose PPC code (not that PPC users will be running Snow Leopard anyway but Xcode updates for Snowless Leopard will end).

Summary: Yes, it works on PPC. Yes, debugging the device from a PPC is flakey. No, it won't last long -- the PPC code will slowly be removed.

Matt Gallagher
A: 

http://blog.flextip.net/2008/12/iphone-no-architectures-to-compile-for-ppc/

This link is good for me. I was installed SDK on PPC successfull

Thanks

A: 

I'd like to say a big thank you and recommendation for Alex Blewitt's PPC iPhone SDK installer script. He packaged a tool that does the whole thing for you complete with simple instructions. I just got it running on my Powerbook 12" which I travel with.

Andy Dent