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 co
As things have moved on since the original post on 3by9.com, here are the steps that I had to follow to get the environment working on my PowerBook G4.
BTW, I would like to say that I realise that this is not a supported environment and I share this for purely pedagogic reasons.
/Platforms
to /Developer/Platforms
(should be two folders starting with iPhone)iPhone Simulator Architectures.xcspec
' in /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications
and open in a text editor.Name = "Standard (iPhone Simulator: i386 ppc)";
RealArchitectures = ( i386, ppc );
// PowerPC { Type = Architecture; Identifier = ppc; Name = "PowerPC"; Description = "32-bit PowerPC"; PerArchBuildSettingName = "PowerPC"; ByteOrder = big; ListInEnum = NO; SortNumber = 106; },
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:
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..?
The iPhone SDK is documented to require an Intel-based Mac. Even if some people may be able to have gotten it to run on some other hardware doesn't mean that it will run correctly, that Apple will fix bugs you report, or that it is a supported environment.
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.