Dear Lazyweb,
I finally got registered for the iPhone app developer program. I created a certificate for “iPhone Developer: Jake Sprouse”, uploaded it to Apple, approved it, and downloaded it into my Keychain. I registered the Device ID of my iPhone on the Apple website. I created an App ID for all jakesprouse.net applications (it’s of the form NNNNNNNNNN.net.jakesprouse.*). And I created a provisioning profile with the certificate, Device ID, and App ID.
In my XCode project, I changed the “Code Signing Identity” field to “iPhone Developer: Jake Sprouse” under my provisioning profile in the drop-down. And I changed the “Bundle identifier” field of my Info.plist to NNNNNNNNNN.net.jakesprouse.${PRODUCT_NAME:identifier}.
Now, when I build it, I get the error message: /Users/jakes/src/MyApp/build/Debug-iphoneos/MyApp.app: object file format invalid or unsuitable.
If I build a second time, it works, but when it goes to install the app, the Organizer window tells me “The Info.plist for application at /Users/jakes/src/Sac4iPhone/build/Debug-iphoneos/Sac4iPhone.app specifies a CFBundleExecutable of (null), which does not exist“.
If I build a third time, I get the object file format error again (and so on…).
Searching Google on codesign + "object file format" is not being very helpful. Anyone out there have any ideas?
In case anyone’s wondering, it’s still snowing in Seattle. The forecasters called for three to five inches, and we just went outside and threw snowballs at Beans in about a foot. We’re about to make breakfast for dinner and watch “It’s a Wonderful Life.” Poor me, I’m wondering if I’m going to be able to make it to work in the morning…



