Xcode 9 "no iTunes Connect account" error when uploading

XcodeApp Store-Connect

Xcode Problem Overview


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?

Xcode Solutions


Solution 1 - Xcode

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

Solution 2 - Xcode

This seems to be issue with Xcode 9. Solution is to use Application Loader tool.

Step 1 : Create an IPA file

  1. Clean your project from Product -> Clean (cmd + shift + k )
  2. Select Product -> Archive

Step1-2

  1. Once archive is successfully completed it will open in Organizer window
  2. Press Export button present on right side

Step3-4

  1. Now select the distribution method as per your need and click on Next button

Step5

  1. This will show the App Store distribution options. Now click on Next button

Step6

  1. Re-sign your project (preferred is Automatically manage signing) and click on Next button

Step7

  1. There will be Review window containing IPA content details. Click on Export.

Step8

  1. Now choose the location where folder is to be saved and Click on Export.

Step9

  1. This will create an folder containing IPA, packaging.log, DistributionSummary.plist and ExportOptions.plist file

Step10

Step 2 : Upload IPA using Application Loader

  1. Right click on Xcode tool present on Slide-bar. Goto Open Developer Tool -> Application Loader

Step2-1

  1. This opens Application Loader. Press on Choose button and select IPA file.

Step2-2

  1. This will analyse IPA file and will show IPA details. You can press on Activity button to see list of activity performed while uploading app. Click on Next.

Step2-3

  1. This will create iTunes Connect API analysis file.

Step2-4

  1. Once it is successfully uploaded it will show Success. Now click on Next.

Step2-5

  1. You IPA file is submitted to AppStore successfully

Step2-6

Solution 3 - Xcode

The only solution I have found for now, is to generate IPA for AppStore and then upload it with Application Loader.

Solution 4 - Xcode

I just had this happen to me and this was my solution.

  1. Full Quit out of xCode 9
  2. Reopen xCode
  3. Update to a new version number
  4. Archive again

Result: It worked

It's a pretty basic fix, but hopefully it will for you too.

Solution 5 - Xcode

None of the mentioned answers helped me. Below I am mentioning what all I have tried to solve the issue but didn't work.

i) Check provisioning profile & Certificate combination.

ii) Clean

iii) Quit Xcode

iv) Delete derived data

v) Restart Xcode

What worked for me is

i) Open Xcode preferences

ii) Check iTunes account you are using. If it is already logged in, remove it.

iii) Login the iTunes account again

iv) Xcode will start process automatically once it gets access now.

v) Select the provisioning profile that you are using again while Xcode asks for it in the popup.

vi) Xcode will proceed upload process.

This worked for me. Hope it will save some of your's time as well.

Solution 6 - Xcode

I just had a call with Apple developer customer support. They said its a known issue and the team is actively working on it. But there is no timeline insight.

Following solution that worked for me. Use Xcode 8 until Apple engineers fix this issue:

The solution may work even if you don't downgrade to Xcode 8

Steps for Downgrading form Xcode 9 to Xcode 8

1. Download Xcode 8 from:
https://developer.apple.com/download/more/

2. Install Xcode 8.

3. Create an ipa build
In Xcode go to
Menu -> Product -> Archive -> Export

4. Use the Application Loader to upload your ipa to iTunes connect
Application Loader can be found at:
In Xcode go to
Xcode -> Open Developer Tools -> Application Loader

Let me know if it helped

Solution 7 - Xcode

The same case happened to me. Also when I tried to get crash reports, it shows that my session has expired.

I have just restarted my Xcode and it worked.

Solution 8 - Xcode

In My case none of the above solutions worked,

I have an access for both Developer account and iTunes Connect account, but I faced the same Issue.

The only option worked for me is updating my MAC OS before it was 10.13.4, after update to 10.13.6 the problem was resolved. Hope this will help to someone.

Solution 9 - Xcode

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:

Adding the new user in Xcode

Now it seems to work.

Solution 10 - Xcode

What works for me is to

  1. remove the apple ID from the accounts known to XCode
  2. to add the account again (do not import the account again)

See https://stackoverflow.com/questions/32592291/on-xcode-7-i-keep-receiving-error-no-accounts-with-itunes-connect-access

Solution 11 - Xcode

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 [email protected], I used [email protected] and it worked.

(Which I really don't prefer, I prefer using my personal email, but if it works, it works)

Solution 12 - Xcode

I could not use application loader because my password is not accepted. Even after changing my Apple ID password it was not accepted.

Restarting XCODE solved the upload problem this time. But it is a repetitive problem.

Apple is becoming a nightmare... XCode and iTunesConnect always have been...

Solution 13 - Xcode

I just removed and re-added my developer account for the Xcode 9. To remove account goto preferences -> select your account -> hit the minus icon(-). To add your account just click on the + icon next to it.

Solution 14 - Xcode

Restarting the laptop fixed this. Didn't try restarting XCode itself, just rebooted the whole laptop.

Solution 15 - Xcode

I also encountered with the same problem. But after I updated the Xcode to the current latest version of Xcode 9.2 solved my problem. I took the update on 2017-12-21.

Solution 16 - Xcode

For me remove derived data, clean project and try again working fine.

Please follow below steps:

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

Hope it will help!

Solution 17 - Xcode

Closed Xcode and reopened it. This worked for me. This was also the most popular answer on the apple forum. Do this first.

Solution 18 - Xcode

Your xCode must be open for longer time.

Quit the xCode and Reopen. It will work.

Solution 19 - Xcode

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.

Solution 20 - Xcode

Solution that worked for me in Xcode 9.1

  1. Go to Preferences.
  2. Go to Accounts tab.
  3. Select the desired account.
  4. If there is a login expired error displayed, login again.
  5. Make sure the error has gone away.
  6. Restart Xcode.
  7. Try to upload the archive again.

Solution 21 - Xcode

Here's what worked for me (after trying many times of signing-out and signing-in):

  1. Sign out your Apple ID (by going to Preferences with Cmd+,)

  2. Sign in with your Apple ID, and make sure you sign in with ***@icloud.com

  3. Somehow it all started working for me...

Posting it here in case it's helpful to anyone else. Have no clue how this solved the problem (and how the problem emerged in the first place).

Solution 22 - Xcode

Actually, it's apple server error. So, wait for some time and then upload. It'll work.

Solution 23 - Xcode

In my case this is the problem of firewall when I connected to other network it's working.

Solution 24 - Xcode

For me it helped to close Xcode and reopen it again, it was that simple ;)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJohn ScaloView Question on Stackoverflow
Solution 1 - XcodelittleView Answer on Stackoverflow
Solution 2 - XcodeJayprakash DubeyView Answer on Stackoverflow
Solution 3 - XcodeJaroslavView Answer on Stackoverflow
Solution 4 - XcodeDaniel EspinosaView Answer on Stackoverflow
Solution 5 - XcodeAanchal ChaurasiaView Answer on Stackoverflow
Solution 6 - XcodeParin ShahView Answer on Stackoverflow
Solution 7 - XcodeCholoView Answer on Stackoverflow
Solution 8 - XcodeMinnuKaAnaeView Answer on Stackoverflow
Solution 9 - XcodeanderslemkeView Answer on Stackoverflow
Solution 10 - XcodeThomasView Answer on Stackoverflow
Solution 11 - XcodeTheoKView Answer on Stackoverflow
Solution 12 - Xcodechris08002View Answer on Stackoverflow
Solution 13 - XcodeVasanthView Answer on Stackoverflow
Solution 14 - XcodeCrashalotView Answer on Stackoverflow
Solution 15 - XcodecoderView Answer on Stackoverflow
Solution 16 - XcodeChetan DobariyaView Answer on Stackoverflow
Solution 17 - XcodeKeithTheBipedView Answer on Stackoverflow
Solution 18 - XcodeKapilrcView Answer on Stackoverflow
Solution 19 - Xcodeuser9799909View Answer on Stackoverflow
Solution 20 - XcodehumblePilgrimView Answer on Stackoverflow
Solution 21 - XcodeTeng LView Answer on Stackoverflow
Solution 22 - XcodekrnView Answer on Stackoverflow
Solution 23 - XcodeZulfiqarView Answer on Stackoverflow
Solution 24 - XcodeThorstenView Answer on Stackoverflow