I installed iOS 4.2 on my second-generation iPod last week. I tried running the application on the device through Xcode, but it did not work (because Xcode did not yet support iOS 4). To solve this problem, I installed Xcode 3.2.5 and iOS SDK 4.2. Now I can get the application to run in the iPhone / iPad Simulator just fine.
However, I can no longer select βDeviceβ from the menu at the top of the screen. This is a choice, but when I try to click on it, it will never get a check mark.

Because of this, I can no longer run the application on my iPod. Another (related) problem is that I can no longer select "Build and Archive" from the Build menu because the target is not a device.
Why is this happening? Do I need to change some parameters in my project or something with my device?
EDIT: Upon closer inspection, it seems like I can't choose anything but iPhone Simulator 4.0. Maybe something is wrong with the project file.
source share