I seem to be having a bit of a problem. In my Archives organizer, Xcode says "Distribution requires enrollment in the Apple Developer program". However, I am registered as the team head and was able to download an iOS distribution certificate within Xcode. I did get a popup earlier that asked me to reauthenticate myself.