As I promised in the last post , I was able to test the possibility of launching the iPhone SDK on Macs with PowerPC processors. Described in paragraphs the solution to this problem cite below. Testing was conducted on Mac mini G4 1.25GHz with installed Mac OS X 10.5.4.
')
We will need the latest version of the iPhone SDK (build 9M2199a), which can be downloaded from http://developer.apple.com/iphone/index.action (registration in the iPhone Developer Program is required, without paying an entrance fee!)
Launch the iPhone SDK. All components will be installed, with the exception of libraries for the iPhone, the selection of which is forced off by the installer.
Go to the Packages folder of the installation image. Manually install packages from this folder that begin with the word iPhone:
iPhoneDocumentation
iPhoneHostSideTools
iPhoneSDKHeadersAndLibs
iPhoneSimulatorPlatform
iPhoneSystemComponents
After installation, the Platforms, Documentation, Examples and About Iphone SDK.pdf file will appear in the root of your main disk. Copy these directories to the Developer folder.
Go to the /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications/ directory and make a backup copy of the iPhone Simulator Architectures.xcspec file. Replace it with the attached file or add to the content one of the following lines for your architecture (do not forget about the commas at the end of the code block):
Launch Xcode and start a new project. Now you will have the option to create new projects for the iPhone.
To test the performance of the simulator, open one of the examples available on the Apple website , or create an empty iPhone project.
Build and go
I was able to test the operation of Xcode and Interface Builder, the rest of the development and testing tools were not checked. In addition, I have come across many reviews that application signing, compilation and testing of the program on a live device does not work on PPC. Therefore, consider programming on your PPC as an opportunity to run the application in the simulator before compiling it on an Intel-compatible Mac. Although, as soon as I get this opportunity, I will definitely check the plausibility of these rumors.
Please comment in the comments on your successes: on which PPC the hardware managed to successfully launch the developer’s kit and how things will work with the future releases of the iPhone SDK.