Got the developer certificate to test app on iphone entered device identifier, connected iphone as a device in the organizer it shows yellow light. In software version it shows 5.1 as installed on iphone device. It displays that it does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below
Xcode Supported iOS Versions Latest 5.0 (9A334) 4.3 (8F190) 4.3 4.2 4.1 4.0.2 4.0.1 4.0
Eventhough got latest version but still i restored iphone but still got yellow light not changing to green any idea how to fix this issue.
Thanks for help.