iOS 6 is finally out, and so is Xcode 4.5 that comes with the iOS 6 SDK.
Unfortunately, after upgrading to Xcode 4.5, all the previously installed SDK versions have been removed and are to be re-downloaded manually. Same goes for the CLI tools.
But the strange thing happened when I went to Preferences › Downloads › Components and hit “Install” next to iOS 5.1 Simulator. I was prompted for my Apple ID and password at me, so I typed the credentials and confirmed. It turned out I was unauthorized to download it, because I hadn’t enrolled in the iOS Developer Program. (Installing Command Line Tools went just fine, though.)
It was a serious matter to me, because I’m a front-end engineer and test my work in different browsers, including the second-latest major version of Mobile Safari.
How can this be fixed?