iPhone Simulator Architectures.xcspec

Posted on September 5, 2009. Filed under: iPhone, Mac |

// 32-Bit
{ Type = Architecture;
Identifier = Standard;
Name = “Standard (iPhone Simulator: i386)”;
Description = “32-bit iPhone Simulator architectures”;
ListInEnum = YES;
SortNumber = 1;
RealArchitectures = ( i386, ppc );
ArchitectureSetting = “ARCHS_STANDARD_32_BIT”;

// Old-style Debug
{ Type = Architecture;
Identifier = Native;
Name = “Native Architecture of Build Machine”;
Description = “32-bit for build machine”;
ListInEnum = YES;
SortNumber = 101;
ArchitectureSetting = “NATIVE_ARCH”;

// G3
{ Type = Architecture;
Identifier = ppc;
Name = “Minimal (32-bit PowerPC only)”;
Description = “32-bit PowerPC “;
PerArchBuildSettingName = “PowerPC”;
ByteOrder = big;
ListInEnum = No;
SortNumber = 201;

// G4
{ Type = Architecture;
Identifier = ppc7400;
Name = “PowerPC G4”;
Description = “32-bit PowerPC for G4 processor”;
ByteOrder = big;
ListInEnum = NO;
SortNumber = 202;

// G5 32-bit
{ Type = Architecture;
Identifier = ppc970;
Name = “PowerPC G5 32-bit”;
Description = “32-bit PowerPC for G5 processor”;
ByteOrder = big;
ListInEnum = NO;
SortNumber = 203;

// Intel
{ Type = Architecture;
Identifier = i386;
Name = “Intel”;
Description = “32-bit Intel”;
PerArchBuildSettingName = “Intel”;
ByteOrder = little;
ListInEnum = NO;
SortNumber = 105;

Read Full Post | Make a Comment ( 1 so far )

Howto Install iPhone SDK 2.2.1 on PPC Mac

Posted on September 5, 2009. Filed under: iPhone, Mac |

NOTE: This method is faster and will not require a lot of work! Just follow the instructions and you won’t need to Google yourself  like with the other How Tos.

Are you like me with an old PPC Mac and you want to have fun with the iPhone SDK on it but you just can’t install it? Here’s how to do it:

First, download the OFFICIAL iPhone SDK from Apple’s website. It’s free, and it will just require you to register/login, every thing is free except if you want to become an iPhone developer, then it’s different. If you don’t want to register, you can try to use some logins from this site.

Figure 1


After downloading, open the mountable disk image (DMG) and copy the files (except the About file) into a new folder on your desktop, let’s call it “iPhone SDK PPC”. When the copy is done, right click on the “iPhone SDK” package (.mpkg) and choose “Show Package Contents”.

Figure 2


Then, go in the “Contents” folder, and right click the “iPhoneSDK.dist” file and open it with TextEdit located in your Applications folder or with your favorite text editor.

Figure 3


Search for the “agreedToSLA” function (function agreedToSLA()) at the end of that function, it should normally be written “return false;”, change that to “return true;”.

Figure 4


And finally, look for the “isIntel” function (function isIntel()), the first line should be like this:

“var res = (system.sysctl(’hw.byteorder’) == ‘1234′);”

Change the numeral part to “4321” so it finally look like:

“var res = (system.sysctl(’hw.byteorder’) == ‘4321′);”

Figure 5


Save and quit, load the installer and it should be installing the iPhone SDK now. Once the installation is done, you’ll probably want to compile apps. To do that, go to:


Figure 6


Locate and make a backup of the “iPhone Simulator Architectures.xcspec” file (you can simply copy and paste it in the same directory). After backing up replace your old file by this file.

Open up Xcode and you should be ready to go!

NOTE: Planet-iPhones.com and the author of this guide is NOT responsible for any problems caused by following the given steps. They are given as “help” and are NOT guaranteed to work. If you don’t want to follow the steps, or scared to break your computer,  get an Intel Mac.




3.iPhone SDK 2.2.1 (9m2621a)


4.iPhone SDK 2.2 (9m2621)


Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...