Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to upload to App Store with Xcode 7.1

When trying to upload an app to App Store in Xcode (7.1) I'm prompted with this error message:

iTunes Store operation failed. You are not authorised to use this service.


The steps I go through when trying to upload

  1. Product -> Archive which completes successfully
  2. Window -> Organizer where I select my app in the left pane. I then choose my most recent archive, press "Upload to App Store..." and pick the relevant development team.

At that point I'm prompted with the error message "iTunes Store operation failed. You are not authorized to use this service for provider: "

I find this odd as my account in the chosen team has admin rights.

My account is also added to the team in iTunes Connect, where my roles are set to App Manager, Reports and Sales.


Attempts to solve the issue

I have:

  1. Deleted my account in Xcode -> Preferences -> Accounts and added it again.

  2. Generated a new archive after deleting and re-adding my account in Xcode.

  3. Restarted Xcode.

  4. Opened Application Loader via Xcode -> Open Developer Tool -> Application Loader. This seems to have helped many others running into similar issues. I can, however, not login due to this:

Your user account is attached to several iTunes providers. Create separate accounts for each provider before logging in.


At the moment I'm out of ideas on what might cause the issue, let alone how to solve it. Do you have any?

like image 890
Leverin Avatar asked Nov 19 '15 15:11

Leverin


People also ask

How do I publish from Xcode to App Store?

In Xcode, select Generic iOS Device as the deployment target. Choose Product from the top menu and click on Archive. The Xcode Organizer will launch, displaying any archives you've created in the past. Make sure the current build is selected and click on Upload to App Store in the right-hand panel.


1 Answers

I've faced the same issue (account is attached to several iTunes providers) when I've downloaded Application Loader from iTunes Connect. The link on iTunes Connect download the version 3.0 of application loader that not supports multi-accounts.

To download the latest version and use multi-accounts you should download the latest version of Xcode. Application Loader is part of Xcode (Xcode > Open Developer Tool > Application Loader). You can download Xcode directly from the Mac App Store.

For more information on this delivery mechanism, see the Application Loader User Guide.

like image 176
Victor Dias Avatar answered Oct 02 '22 07:10

Victor Dias