title: How to properly develop for the iPhone on a PowerPC Mac?
body: <p>I'm doing iPhone development on a PowerPC Mac. How do I get code signing to work properly so that I can build to my iPhone?</p>
  
  <p>The iPhone SDK doesn't officially support PowerPC, but with some fidgeting, it can be installed. See <a href="http://www.tbradford.org/2008/03/iphone-sdk-beta-2-possible-ppc-fix.html" rel="nofollow noreferrer">here</a>. I've got the SDK installed and running fine in Xcode and the iPhone simulator works fine.</p>
  
  <p>However, I can't build to my iPhone in Xcode -- the code signing is fubar. Some clever people have created workarounds <a href="http://discussions.apple.com/thread.jspa?threadID=1455699&amp;tstart=0" rel="nofollow noreferrer">here</a>. Namely, I used the codesign script that Tiku posted along with some of the corrections. This has helped me make some progress. The code compiles now, but I still get an 0xE800003A error when it tries to deploy.</p>
  
  <p>I think I have all my keys and provisioning profiles set up properly. My iPhone is registered for development, I've got the provisioning profile created. The AppID listed in the dev portal says MagicNumber.com.website.* and in my project, I have the Bundle ID set as com.website.${PRODUCT_NAME:identifier}. In project settings, product name is HelloWord, and the code signing identity is my developer certificate.</p>
  
  <p>The console log of the iPhone says:
  Wed Feb 18 14:57:55 unknown afcd[180] : user mobile has uid 501</p>
  
  <p>Wed Feb 18 14:57:55 unknown afcd[180] : mode is 0x41e8
  Wed Feb 18 14:57:55 unknown mobile_installation_proxy[182] : install_embedded_profile: Skipping the installation of the embedded profile
  Wed Feb 18 14:57:55 unknown mobile_installation_proxy[182] : verify_executable: Could not validate signature: e800800e
  Wed Feb 18 14:57:55 unknown mobile_installation_proxy[182] : preflight_application_install: Could not verify /var/tmp/install_staging.QNk2sD/HelloWorld.app/HelloWorld
  Wed Feb 18 14:57:55 unknown mobile_installation_proxy[182] : install_application: Could not preflight application install
  Wed Feb 18 14:57:55 unknown mobile_installation_proxy[182] : handle_install: Installation failed</p>
  
  <p>Any help is appreciated!</p>