138

Since the Apple "Users & Roles" update to iTunesConnect end of november 2015 some people have been experiencing an error message "iTunes Store operation Failed" and "You are not authorized to use this service".

This happens when using XCode 6 and 7

enter image description here

Previously i was able to upload app using the same iTunes account.

9
  • what if you try app uploading through xcode organizer ?. I know its not the answer of your problem but you will get the app uploaded Jan 31, 2015 at 6:10
  • I am uploading app from Organiser and when i try to upload the app using App Loader also getting the same error Jan 31, 2015 at 6:17
  • I'm having the same issue - did you find the cause? I can log in to itunes connect fine. Started happening this week.
    – Ed Sykes
    Feb 2, 2015 at 13:19
  • @EdSykes I created the ipa using Xcode 6 and save to my mac and upload that ipa using App Loader 2.9.1. Feb 3, 2015 at 5:03
  • 1
    I know this is an old question but here is the issue that caused this error for me. I had an admin role on the developer.apple.com but I didn't have any roles on iTunes connect account. Nov 24, 2015 at 22:01

12 Answers 12

59

I had the same issue today. What I did is mentioned below.

Go to XCode -> Preferences -> Accounts -> Apple Ids

From that select your Apple ID, remove it, and then add it again. Quit Xcode, open it again, and then clean and archive the project.

It worked for me.

Hope it works for someone else also.


EDIT

If your Apple ID is already there you can also try with refresh button for all provisioning profiles and certificates.

Then restart Xcode, clean and build the project. You'll be good to go!

7
  • I just saw this error. Xcode had plain lost my account info.
    – Rog
    Feb 11, 2015 at 16:32
  • 1
    Bingo, I was registered with @ me not @ icloud. Xcode wanted to use @icloud. Good call.
    – Sivli
    Feb 16, 2015 at 0:11
  • Yes, it will also work if you have not changed your apple id details. In that case just refresh the provisioning profiles and certificates and restart your xCode and clean and build. You will be good to go then.
    – Manthan
    Apr 14, 2015 at 4:14
  • 1
    Will you please clarify what you mean by "you can also try with refresh button for all provisioning profiles and certificates"? May 6, 2015 at 23:34
  • 2
    @tyler.frankenstein: There is a refresh button when you go to xcode->preferences and in accounts, there is a refresh button at the left bottom side. Please try to refresh it.
    – Manthan
    May 7, 2015 at 4:06
44

On Xcode 7.1 I disabled bitcode during the submission and it uploaded perfectly. enter image description here

EDIT: You can also export your app archive (iOS App Store Submission) and use Application Loader (press choose button and locate your export file). There is no "Include bitcode" option, so my Guess is it's off by default in Application Loader.

4
  • Thanks! That was the issue for me too. Never would have guessed from the error message.
    – n13
    Nov 6, 2015 at 1:09
  • 5
    This fixed the issue for me as well. Does anyone have any idea how to get this working with the bitcode enabled?
    – Luke
    Nov 9, 2015 at 3:14
  • 2
    Same here with Version 7.1 (7B91b). Only two options: upload without bitcode or through Application Loader. Sad to see how Apple treat devs...
    – sonxurxo
    Nov 17, 2015 at 19:58
  • Using Application Loader I was able to respond to a warning regarding "Potential Loss of Keychain Access" while uploading for a client transferred app. I was able to obtain more information, and respond accordingly. This allowed me to successfully complete the upload.
    – bitsand
    Mar 28, 2016 at 14:55
12

Finally i am able to upload the ipa to the iTunes store.

First of all i create ipa using Xcode 6, Export for iOS App Store Submission. Save on my mac.

And upload ipa using Application Loader version 2.9.1. And it was successfully uploaded to iTunes.

May be It will help someone.

4
  • 1
    Uploading the build using Application Loader worked for me. Strangely, this issue is occurring with only one of my projects. I don't know what's the reason.
    – Mustafa
    Dec 17, 2015 at 9:43
  • Same here. Had to use Application Loader which actually pointed to an error in my archive (I had not supported all interface orientations). After I fixed that, it uploaded just fine. Note that Xcode could have been helpful in this case, but it just failed with a generic, unhelpful authentication error message. Will keep using Application Loader for quite some time now instead of uploading the app via Xcode! Dec 21, 2015 at 6:00
  • Xcode -> Open Developer Tool -> Application Loader. That's it.
    – boweidmann
    Dec 27, 2015 at 11:24
  • This is the solution for desperate ones. The solutions above is known by the developer who does code signing several times but this is the was the last resort for me and it worked. God damn Apple's app singnig process. Jan 11, 2016 at 22:54
10

I know it is an old question, but maybe I noticed something that it might help you.

Today when I try to login to Itunes Connect via browser, Apple returns me a message "Your Apple ID or password was entered incorrectly." , but I'm sure that my id and pass was correct . It seems apple side problem, not ours.

I think that there is something that it doesn't work in Apple, and it is not an Xcode bug.

I don't know why they don't warn anyone about that.

EDIT

Now Apple updated its System Status - Apple Developer.

8
  • 1
    I just tried, with a Team member, and then with the Team agent... I accepted the updated Agreement with Team agent. Both didn't work
    – Vinzzz
    Mar 11, 2015 at 13:11
  • I tried too but it still doesn't work for me Mar 11, 2015 at 13:13
  • Same here, maybe it will work again in a few hours...
    – Davis
    Mar 11, 2015 at 13:38
  • 1
    It seems that now Apple updated the System Status page. Mar 11, 2015 at 14:50
  • 1
    I can log in to iTunes Connect now, but still have this issue uploading an ipa. Hopefully this will fix itself soon..
    – tagy22
    Mar 11, 2015 at 17:08
10

I experienced the same error when I was working from overseas and had a very slow internet connection (upload speed). In my case it had nothing to do with the credentials or refreshing of the profiles. It was just the upload speed. I had an upload speed of less that 1Mbps. I attempted multiple times without success. Then I went to a restaurant where the upload speed was 11Mbps and it worked perfectly.

2
  • I had similar issue. I have used Application Loader instead and it went through... let's see how the Processing will finish.
    – igraczech
    Nov 5, 2015 at 17:31
  • Application Loader uploads the binary even if the speed is less than 10KB/sec. And using Application Loader was surprisingly easy.
    – boweidmann
    Dec 27, 2015 at 11:23
3

You selected developer account which don't have rights to publish. Make sure that you selecting correct one.

On the picture:
1. Is the agent account.
2. Member account without rights to publish.

enter image description here

2

I was also experiencing this issue last week. But that was due to iTunesConnect outage but now apple solved that issue and server working fine so you will not experience this issue. Please check and hope that will work now.

1

I got this error today when trying to upload from Xcode 6. The app I tried to upload was developed for another customer, but I was admin on their account. But, now my personal Apple Developer Subscription has expired. I'm still admin on the clients account, so I could login, validate builds, download provitioning profiles, etc, but when I tried to submit I got the error described above.

My solution was to remove my own Apple Id and instead login using my clients Apple Id directly.

1
  1. Delete your account on Xcode Preferences Accounts
  2. Close Xcode
  3. Add Your account again
  4. Archive
  5. Submit
0

Delete your Apple ID from xocde and add it again, make sure you quite beta Xcode if you have opened, then open it again, clean, archive, validate, it works for me

1
  • It's good to talk about 'beta Xcode', because it seems that beta versions of Xcode are not allowed when you are trying to submit an App. What I mean is that if you use a beta version of OSX or a beta version of Xcode the error will be shown, and it is pretty confusing. I explain it because it took a lot of my time to be aware of how having a beta version of OSX blocked the submission of an App in a non-beta Xcode.
    – Oriol
    Dec 31, 2015 at 0:23
0

Log out of the application loader, then sign back in.

Happened to me and was banging my head against the wall for hours with different combinations of signing...

1
  • you can try to use Application loader instead of using Xcode directly. For example i had you same problem and I do not receive any logs except the one you wrote... When i used Application loader I understood the true error. Nov 26, 2015 at 22:21
0

I was using a wrong provisioning profile (old one) when hitting this error.

Just go member center and download current provisioning profile for AppStore distribution. Double-click to install and make sure that this profile is used when building the app.

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.