With a certain project in Xcode 9 beta 6 when I try to Upload to the App Store I get:
I am the \"Admin\" role for this account.
The only solution I have found for now, is to generate IPA for AppStore and then upload it with Application Loader.
Your xCode must be open for longer time.
Quit the xCode and Reopen. It will work.
I encountered the same issue with xCode 9 GM build and others reported it as well in xCode 10 and xCode 11. Deleting the derived data actually solved it for me. Hopefully it will help others as well.
rm -fr ~/Library/Developer/Xcode/DerivedData/
Edit: This worked for me in Xcode 9 GM. I don't know if it will be an issue in the final version
What worked for me is that I changed my regular AppleID email, with the equivalent @icloud.com alias.
For example, I didn't use myemail@gmail.com
, I used myemail@icloud.com
and it worked.
(Which I really don't prefer, I prefer using my personal email, but if it works, it works)
Got the same issue fixed with below steps. Just do Quit XCode completely even dock too then wait for few seconds and Reopen the Xcode then proceed to Archive again freshly. then believe problem solve :). All the best.
I've managed to get it working by creating a new user in iTunes Connect, with just the "Developer" role.
For me, that also required to creating a new Apple ID.
I then added that new user in Xcode:
Now it seems to work.