Is it just the iPhone simulator that is restricted to Intel only Mac's?

Tags: osx xcode iphone
By : Clokey
Source: Stackoverflow.com
Question!

I have read that the iPhone SDK (part of Xcode 3) is restricted to Mac's with the intel chipset. Does this restriction apply to only the simulator part of the SDK or the complete shebang?

I have a Powerbook G4 running Leopard and would very much like to do dev on it rather than fork out for a new machine.

It is also worth clarifying that I am interested in development for personal reasons and therefore accept that I would need a certified platform to create a submission for the App Store.

By : Clokey


Answers

I have a Powerbook G4 running Leopard and would very much like to do dev on it

Not sure what sort of application you are developing, but if you jailbreak your iPhone, you can:

  • develop applications using Ruby/Python/Java which won't require compiling at all
  • compile on the phone(!), as there is an GCC/Toolchain install in Cydia - although I've no idea how long that'll take, or if you can simply take a regular iPhone SDK project and SSH it to the phone, and run xcodebuild)

You should be able to compile iPhone applications from a PPC machine, as you can compile PPC applications from an Intel Mac, and vice-versa, there shouldn't be any reason you can't compile an ARM binary from PPC.. Wether or not Apple include the necessary stuff with Xcode to allow this is a different matter.. The steps that Ingmar posted seem to imply you can..?

By : dbr


If you actually want to run your binary on the device, not just the simulator, you need the advice from the following page:

http://discussions.apple.com/thread.jspa?messageID=7958611

It involves a Perl script that does a bit of 'magic' to get the code signing to work on PowerPC. Also you need to install Developer Disk Image from the SDK packages. When all is said and done you can use a G4 to develop on the real device and even the debugger works. But I think Instruments doesn't work.



This video can help you solving your question :)
By: admin