This page is a wiki. Please login or create an account to begin editing.


iPhone OS 2.2.1 SDK for PPC

Rating:
Your rating: None Average: 4 (1 vote)
Category:
Year released:
Author:
Publisher:
#1
[www].se [ftp].se [mirror].us
iPhonePPCEnabler.dmg (15.75 KB)
MD5: 73e421c1e7f327293473d66218cafd74
For Mac OS X
#2
[www].se [ftp].se [mirror].us
iPhoneSDK.dist_.zip (1.12 KB)
MD5: e66fea03beccc91e31c9dbf391c4785e
For Mac OS X
#3
[www].se [ftp].se [mirror].us
iphone_sdk_for_iphone_os_2.2.19m2621afinal.dmg (1.75 GB)
MD5: 2ae437b4d1a6e93256173a06b26421b6
For Mac OS X
[www].se [ftp].se [mirror].us
About_iPhone_SDK.pdf
Emulation
Guides on emulating older applications

The original iPhone, as it was presented in January 2007, was supposed to run only Web-Widget-Applications from third-party developers (Dashboard widgets as introduced with Mac OS X 10.4). Only Apple's own programs were supposed to have full access to the underlying operating system that was derived from the then current Mac OS X 10.5 Leopard.

Under pressure from the developer community, Apple released in March 2008 a beta SDK for iPhone OS 1 which allowed programmers to create native Cocoa applications for the iPhone (link). It was only available for registered premium developers.

It was revealed for the first time the name of the operating system running on the iPhone (iPhone OS) and its architecture. Apple had ported its Mac OS X from PPC/Intel over to the ARM processor architecture and had replaced the Application Kit framework layer, which handled GUI application capabilities for mouse/keyboard interaction, with the UIKit framework layer that allowed GUI capabilities with touch/gesture user interaction, oriented to the iPhone's touch screen. It allowed development of native iPhone software on any Intel Macintosh with Xcode, either running on the connected iPhone (compiling to ARM code, uploading to the iPhone and remotely debugging) or running locally on the Mac running in the iPhone simulator (compiling to Intel code and locally debugging). To enable this, Apple provided all missing frameworks and runtime libraries compiled for the Macintosh's architecture, so in reality, the iPhone Simulator was running iPhone OS for Intel in contrast to the iPhone OS for ARM on the iPhone.

As Apple released iPhone OS 2, in July 2008, the SDK was offered to all who registered in a new iPhone developer program for $100 a year. Membership included a license to install one's own programs to registered iPhones for testing and to sell them at the new App Store. Despite Apple's claim that the SDK was available for Intel Macs only, some clever developers soon realized that all the frameworks and programs the SDK delivered were compiled as Universal (PPC/Intel) code while the compiler configuration files were ARM/Intel only. Moreover the installer checked for Intel architecture and denied installation on PPC Macs. Installing the .pkg archives manually and repairing the compiler configurations made the iPhone SDK run completely on PPC Macs. So the SDK was probably developed for both PPC and Intel Macs and PPC support removed just before delivery because of marketing reasons to boost the sales of the Intel Macs.

SDK 2.x was still compiled for Intel and PPC. Only with the release of SDK 3.0 were the newer frameworks and applications compiled for Intel alone, making it no longer possible to develop iPhone software on PPC Macs. With the release of the original iPad in January 2010, Apple chose to merge iPhone SDK with Xcode as a single download and removed all prior separate iPhone SDKs that they had offered before from their servers.

In spring 2014 the Wall Street Journal published an article named "Inside a Secret Apple Room Where iPhone Software was Born" about the development of the original iPhone's software, where it was shown in a picture that it was developed on a blue-white Power Macintosh G3 because it had a similar low CPU power (Link).

This is a very rare software item of great historical interest, and was the last version of the iPhone SDK installable and runnable fully on a PPC Mac under Mac OS X Leopard.

Regardless of what means you use to install the iPhone SDK packages on a PowerPC machine, you will still need to do some extra work to run simulator binaries without an iPhone. One means is suggested in the Apple Xcode entry's comments.

Articles on how to use iPhone 2.x SDK on PPC Macs:
Screenshot iPhone simulator running on a G4 Mac
Step-by-Step guide for installation and compiling apps on a PPC Mac with many screenshots (Spanish)
How to install iPhone SDK 2.2 on PPC with editing install script
How to install iPhone SDK 2.2 on PPC using Pacifist
Installation with little custom user script
Article with step-by-step instructions and many screenshots
According to this article the installation on PPC Macs works up to SDK version 2.2.1, SDK 3.0 and higher not working since compiled for Intel architecture only
Installation procedure with full editing listings
installation procedure with screenshot of iPhone simulator and provided file with above listing

Compatibility
Architecture: PPC x86 (Intel:Mac)

Intel/G4/G5
Mac OS X 10.5.4 Leopard or higher
iPhone (2G) for remote debugging

Comments

Duality's picture
by Duality - 2019, January 1 - 11:21pm

You're welcome. Happy New Year, MTT and everybody else at the Garden!

MikeTomTom's picture
by MikeTomTom - 2019, January 1 - 10:59pm

@Duality: Thank you very much for moving the .dmg (or it's duplicate) to the internal server + updating the description. That was quick Smile

Duality's picture
by Duality - 2019, January 1 - 10:03pm

Responding to 3371-Alpha's old question below; Xcode 3.1.3 came with the first revision of the iPhone OS 3 packages and 3.1.4 came with the iPhone OS 3.1 packages, provided that you installed Xcode 3.1.3 or Xcode 3.1.4 through the iPhone SDK dmg. The images of 3.1.3 and 3.1.4 that you can get from developer.apple.com today don't have those old iPhone SDK packages.

You can mix Xcode 3.1.4 with the iPhone OS and Simulator 2.2.1, 2.2, 2.1, and 2.0 packages. IIRC the later SDKs had them for the sake of continuing to support old OSes within the Simulator, and for debug symbols for system frameworks on the older iPhone OS devices.

Duality's picture
by Duality - 2019, January 1 - 9:50pm

In this separate entry, there's far too many steps, hacked packages and articles here for what you really need to do to get Xcode 3.1.2 (or 3.1.4) to work with the four or six iPhone OS SDK packages on PowerPC. I described how I did it using the third from top blog article linked here as a start, in http://macintoshgarden.org/apps/apple-xcode

Another caveat is that most of these old steps that worked for an old iPhone still need an extra mile just to launch the Simulator, regardless of platform. The 2.2.1 SDK expects that you have an iPhone original, 3G, or 3Gs that wasn't upgraded to iPhone OS 3.x or later set up through Apple's developer portal for provisioning with an unexpired cert. That is extremely hard to do, today.

I used Simulator Launcher to get the rest of the way there in 2019. In Xcode 6 and later, simctl serves the same purpose. I think the later Xcode SDKs removed the requirement to have a provisioned iOS device just to run the Simulator long before that, but I'm not entirely sure.

Apparently this particular entry was hidden until today, which is why I didn't notice. Oh well! Smile

3371-Alpha's picture
by 3371-Alpha - 2016, August 16 - 10:59pm

I believe this SDK comes with Xcode 3.1.x included. With that in mind, is it possible to install this on your machine if you already have Xcode 3.1.4 (final Leopard build) installed on it?

Kitchen2010's picture
by Kitchen2010 - 2014, October 24 - 6:18pm

The Dropbox link is in the entry (1st download).
Unfortunately, my upload speed is very poor, so i cannot upload such huge files myself ! Sad
The only reason that I host the file on my free Dropbox account is that the original link was on Dropbox too and you can make a remote download from one account to an other one.

Kitchen2010's picture
by Kitchen2010 - 2014, October 20 - 3:42pm

Though this might be a little out of scope of Macintosh Garden, I think this software may have its place here because of its historical value (first available public SDK series to developers), its rarity (deleted from Apple's servers, disappeared from the entire internet) and because it is the last iPhone SDK that can be (inofficially) installed and run on PPC-Macintoshes.

The compiled Apps are for ARMv6 architecture only, so they might not runnable on newer iPhone and iPads. So this might be also of value for owners of the original iPhone (2G), as iPhone 3GS had ARMv7 processor and support for ARMv6 was dropped with Xcode 3.2.2.