I am learning iOS Development & Programming through few other sources like Stanford University’s Coding Together Podcasts & other,
But when I was ready to publish app to iTunes Connect through XCode I started getting this error & it was something like this,
‘No Identities were available’, ‘An Administrator must request identities before they can be downloaded’
Reason is you have not created distribution profile for your app which is manditory to be created to publish app & distribute app through App Store or as a Ad Hoc distribution.
Soulution is simple, ‘You have to create Distribution Profile for your App in iTunes Provisioning Portal in Apple Developer Center’
& You will stop getting this error in XCode.
Thanks & Regards