Xcode4 - Build for Archiving greyed out [duplicate]

In the scheme drop down you have to choose an actual device, not one of the simulators.