I cannot seem to be able to archive an app on a new computer. I created new provisioning profiles for distribution and development. I created a new Certificate Signing Req
Deleting the DerivedData for the project worked for me:
rm -rf ~/Library/Developer/Xcode/DerivedData/AppName