<p>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 complete shebang?</p>

<p>I have a Powerbook G4 running Leopard and would very much like to do dev on it rather than fork out for a new machine.</p>

<p>It is also worth clarifying that I am interested in development for personal reasons and therefore accept that I would need a certified platform to create a submission for the App Store. </p>

[{'answer_id': 38554, 'author': 'Chris Hanson', 'author_id': 714, 'author_profile': 'https://Stackoverflow.com/users/714', 'pm_score': 2, 'selected': False, 'text': "<p>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.</p>\n"}, {'answer_id': 38577, 'author': 'dbr', 'author_id': 745, 'author_profile': 'https://Stackoverflow.com/users/745', 'pm_score': 1, 'selected': False, 'text': '<blockquote>\n  <p>I have a Powerbook G4 running Leopard and would very much like to do dev on it </p>\n</blockquote>\n\n<p>Not sure what sort of application you are developing, but if you jailbreak your iPhone, you can:</p>\n\n<ul>\n<li>develop applications using Ruby/Python/Java which won\'t require compiling at all</li>\n<li>compile on the phone(!), as there is an GCC/Toolchain install in Cydia - although I\'ve no idea how long that\'ll take, or if you can simply take a regular iPhone SDK project and SSH it to the phone, and run <code>xcodebuild</code>)</li>\n</ul>\n\n<p>You <em>should</em> 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 <a href="http://3by9.com/85/" rel="nofollow noreferrer">Ingmar posted</a> seem to imply you can..?</p>\n'}, {'answer_id': 45592, 'author': 'Clokey', 'author_id': 2438, 'author_profile': 'https://Stackoverflow.com/users/2438', 'pm_score': 3, 'selected': False, 'text': '<p>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.</p>\n\n<p><strong>BTW, I would like to say that I realise that this is not a supported environment and I share this for purely pedagogic rea</strong>sons.</p>\n\n<ol>\n<li>Download and install the iPhoneSDK (final version)</li>\n<li>After the install finishes, navigate to the packages directory in the mounted DMG</li>\n<li>Install all of the pkg\'s that start with iPhone</li>\n<li>Copy the contents of <code>/Platforms</code> to <code>/Developer/Platforms</code> (should be two folders starting with iPhone)</li>\n<li>Locate \'<code>iPhone Simulator Architectures.xcspec</code>\' in <code>/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications</code> and open in a text editor.</li>\n<li>Change line 12 to: <code>Name = "Standard (iPhone Simulator: i386 ppc)";</code></li>\n<li>Change line 16 to: <code>RealArchitectures = ( i386, ppc );</code></li>\n<li>Add the following to line 40 onwards:</li>\n</ol>\n\n<pre>\n    // PowerPC\n    { Type = Architecture;\n    Identifier = ppc;\n    Name = "PowerPC";\n    Description = "32-bit PowerPC";\n    PerArchBuildSettingName = "PowerPC";\n    ByteOrder = big;\n    ListInEnum = NO;\n    SortNumber = 106;\n    },\n</pre>\n\n<ol start="9">\n<li>Save the file and start Xcode</li>\n<li>You should see under the New Project Folder the ability to create iPhone applications.</li>\n<li>To get an app to work in the simulator (and using the WhichWayIsUp example) open Edit Project Settings under the Project menu</li>\n<li>On the Build tab change the Architectures to: Standard (iPhone Simulator:i386 ppc)</li>\n<li>Change Base SDK to Simulator - iPhone OS 2.0</li>\n<li>Build and go should now see the app build and run in the simulator</li>\n</ol>\n'}, {'answer_id': 117802, 'author': 'Chris Lundie', 'author_id': 20685, 'author_profile': 'https://Stackoverflow.com/users/20685', 'pm_score': 1, 'selected': False, 'text': '<p>If you actually want to run your binary on the device, not just the simulator, you need the advice from the following page:</p>\n\n<p><a href="http://discussions.apple.com/thread.jspa?messageID=7958611" rel="nofollow noreferrer">http://discussions.apple.com/thread.jspa?messageID=7958611</a></p>\n\n<p>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.</p>\n'}]
['https://Stackoverflow.com/questions/37822', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2438/']