Xcode 9 "no iTunes Connect account" error when uploading

John Scalo picture John Scalo · Sep 2, 2017 · Viewed 19.8k times · Source

With a certain project in Xcode 9 beta 6 when I try to Upload to the App Store I get:

enter image description here

I am the "Admin" role for this account.

  • All contracts are up-to-date
  • I tried removing/re-adding my account from Xcode prefs several times
  • Submitting for the same project from Xcode 8 works (however I need to upload from Xcode 9 for this project because it links against iOS 11 beta)

Another developer on the team is seeing the same thing so this seems like it might be common. Anyone find a workaround?

Answer

little picture little · Sep 18, 2017

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.

  1. Close xCode
  2. rm -fr ~/Library/Developer/Xcode/DerivedData/
  3. Reopen xCode and try to upload again