I recently installed the iPhone OS 3.0 upgrade on my iMac for developing iPhone Apps in XCode. The App I've been developing started throwing errors when I would try and compile for 3.0 (previously worked in 2.2.1). I fixed all of the errors I could, but I am consistently getting the following error:
Any time I try and compile for the device (even 2.2.1 now...)
It works fine in the simulator (building for both release and debug) but will not work for the device (for release or debug).
The reason for this is because I accidentally installed the "Snow Leopard" version of the 3.0 SDK instead of the "Leopard" version (I'm just a poor ignorant PC guy who has no idea which animal his OS is named after and just wishes they would call it "X.5" or "X.6" to simplify things).
If you found this post helpful, it was supported in part by the amazon links around the site. If you're going to buy a book anyways, why not help support this blog's author by clicking one of the links on this site to do it? If you are looking for a book on iPhone development, this one is amazing: Beginning iPhone 3 Development: Exploring the iPhone SDK