So I got the iPhone/iPod Touch SDK downloaded and installed. Getting a sample app to run in the iPhone emulator is easy enough, but I can’t get it to run on my iPod Touch. There are two things I see getting in my way.
The first is that when I try to add an application to the iPod in the Organizer I get a message to the effect of “your mobile device has encountered an error” and the dialog specifies error code 34. I have no idea what this means yet, but I have a sinking feeling that it will only work with an iPhone, and not an iPod.
The second is that when I try to build the project for Aspen (as opposed to Aspen simulator) I get an error at the last minute about not having a code signing key. This I somewhat expected, but I also thought I should at least be able to put applications on my own device without having one. Typically, Apple is only allowing Americans to have code signing keys at this point, though they say that other countries’ developers will be included “in coming months”.
I’m feeling somewhat foolish for un-jailbreaking my iPod at this point. My only comfort at this point is that I’m not the only person struggling with it.
Update: The likely reason for this error is that the SDK builds code for OS 2.0.
Update: This seems even more likely, since programs built with the Apple SDK give bus errors when run on a device.
Update: If you want to get started building code that runs on a real device instead of the Aspen simulator, build a toolchain that will do the trick.