Launch iPhone SDK on PowerPC

    Crosspost from the blog " Programming in Python and
    Objective-C for Mac OS and for iPhone / iPod Touch
    "

    As I promised in the last post , I managed to check the possibility of running the iPhone SDK on Macs with PowerPC processors. The solution to this problem described by the points below. Testing was conducted on a Mac mini G4 1.25GHz with Mac OS X 10.5.4 installed.



    1. 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 will be required, without paying an entrance fee!)
    2. Launch the iPhone SDK. All components will be installed, except for libraries for the iPhone, the selection of which is forcibly disabled by the installation program.
    3. Go to the Packages folder of the installation image. Manually install from this folder packages starting with the word iPhone:

      • iPhoneDocumentation
      • iPhoneHostSideTools
      • iPhoneSDKHeadersAndLibs
      • iPhoneSimulatorPlatform
      • iPhoneSystemComponents


      After installation, the Platforms, Documentation, Examples, and About Iphone SDK.pdf files will appear in the root of your main drive. Copy these directories to the Developer folder.
    4. Go to the /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications/ directory and backup the iPhone Simulator Architectures.xcspec file. Replace it with the attached file or add one of the following lines to your content for your architecture (do not forget about the commas at the end of the code block):
    5. Launch Xcode and start a new project. Now you will have the option of creating new projects for the iPhone.



      To test the simulator's performance, open one of the examples available on the Apple website or create an empty iPhone project.
    6. Build and go






    I managed to check the operation of Xcode and Interface Builder, the rest of the development and testing tools were not tested. In addition, I came across many reviews that signing applications, compiling and testing a program on a “live” device does not work on PPC. Therefore, consider programming on your PPC as an opportunity to run the application in a simulator before compiling it on an Intel-compatible Mac. Although, as soon as I am given such an opportunity, I will definitely check the plausibility of these rumors.

    Request in the comments to unsubscribe your successes: on what PPC hardware did you successfully launch the development kit and how will things work with future releases of the iPhone SDK.

    Also popular now: