Reputation: 3411
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.
Another developer on the team is seeing the same thing so this seems like it might be common. Anyone find a workaround?
Upvotes: 50
Views: 20193
Reputation: 3029
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/
Upvotes: 150
Reputation: 5793
In my case this is the problem of firewall when I connected to other network it's working.
Upvotes: 0
Reputation: 19
For me it helped to close Xcode and reopen it again, it was that simple ;)
Upvotes: -1
Reputation: 1
Actually, it's apple server error. So, wait for some time and then upload. It'll work.
Upvotes: 0
Reputation: 1646
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.
Upvotes: 1
Reputation: 307
Here's what worked for me (after trying many times of signing-out and signing-in):
Sign out your Apple ID (by going to Preferences with Cmd+,
)
Sign in with your Apple ID, and make sure you sign in with ***@icloud.com
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).
Upvotes: 0
Reputation: 1806
Solution that worked for me in Xcode 9.1
Upvotes: 0
Reputation: 3
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.
Upvotes: 0
Reputation: 1538
Your xCode must be open for longer time.
Quit the xCode and Reopen. It will work.
Upvotes: 0
Reputation: 629
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.
Upvotes: 3
Reputation: 882
Closed Xcode and reopened it. This worked for me. This was also the most popular answer on the apple forum. Do this first.
Upvotes: 0
Reputation: 812
For me remove derived data, clean project and try again working fine.
Please follow below steps:
Hope it will help!
Upvotes: 0
Reputation: 8712
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.
Upvotes: 0
Reputation: 34523
Restarting the laptop fixed this. Didn't try restarting XCode itself, just rebooted the whole laptop.
Upvotes: 0
Reputation: 11
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.
Upvotes: 1
Reputation: 36447
This seems to be issue with Xcode 9. Solution is to use Application Loader tool.
Step 1 : Create an IPA file
Select Product -> Archive
Once archive is successfully completed it will open in Organizer window
Step 2 : Upload IPA using Application Loader
Upvotes: 19
Reputation: 607
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.
Upvotes: 0
Reputation: 51
I just had this happen to me and this was my solution.
Result: It worked
It's a pretty basic fix, but hopefully it will for you too.
Upvotes: 5
Reputation: 487
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...
Upvotes: 0
Reputation: 189
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
Upvotes: 1
Reputation: 3676
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)
Upvotes: 0
Reputation: 129
What works for me is to
See On Xcode 7 I keep receiving error "No accounts with iTunes connect access"
Upvotes: 0
Reputation: 21
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.
Upvotes: 0
Reputation: 1389
The only solution I have found for now, is to generate IPA for AppStore and then upload it with Application Loader.
Upvotes: 10