We have our sdk version is XCode 4.3.2, before upgrading to our IOS(iPhone 3) to 4.2.1; the device was connected properly and we were able to debug the application but as upgrade the ios version and when clicking to run from XCode, we encounter with following error message:
"No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination."
And, also in the organizer our device is shown with yellow status.