Xcode 7.1 upload App error - ios

Error code is 1070
"You must be an Itunes Connect Admin or Technical user in order to deliver content or metadata"
The account's role is agent and has all roles of Itunes Connect, and I also tried another account in the same team whose role is admin and developer role of Itunes Connect, but it still doesn't work.

iTunes Connect support says the workaround is to just change the team member's role to Admin, then upload should work. After upload, you can now change back the team member's role to its original role. Subsequent uploads might work but for other's it still won't.
Update: Reverting to original role results in error again, so you need to be Admin to upload builds. As of now, there are no news of a fix.
EDIT:
Source:
Apple Developer Forums
and tried it myself.

I have the same issue on Xcode 11.3 for uploading.
It seems a bug for Xcode.
I had 3 accounts added to Xcode and just one of them was an Admin.
I asked the Owner to change my role to Admin but i got this error again.
It's stupid but i only had one account left that even not used in the project!!
So i asked again to add this account and set its role to Admin and the error was still remained.
So i went to the accounts added in Xcode -> Preferences -> Accounts and removed all other accounts except the one was Owner, Admin of this project and problem solved!!
The solution worked for me was just to remove other accounts which are not Owner, Admin role from Xcode.

Find your accounts, Xcode -> Preferences -> Accounts;
Delete all accounts;
Login accounts again;
Close Xcode;
Open Xcode again.
It works for me.

My problem:
I've just upload successfully at 4pm
Then at 5pm, I got this error message (I wonder why!):
you must be an admin or technical user in order to deliver content or metadata.
My solution:
Menu XCode > Preference
Tab Account
Remove others AppleID account or move your needed Apple ID account to the top of the list.
Upload again and luckily it's successful

Xcode 9 still has this problem, too.
My account is already assigned as ADMIN role on the App Store Connect. But when I upload app by using Xcode still encounter this issue "You must be an Itunes Connect Admin or Technical user in order to deliver content or metadata"(1070).
My solution is export the .ipa file, then using Application Loader to upload .ipa. It works for me.

I got this issue after updating Xcode to 10.2.1. Here is my solution.
Open Application Loader. To open it, goto Xcode menu>> Open Developer Tool and click Application Loader.
Now check which Apple ID you are connected to on top left corner of Application Loader. Here is an image.
This is primary Apple ID Xcode is connected to. So, make sure you have Developer/Admin access to this particular Apple ID to upload app. Or you can Sign Out existing Apple ID currently showing in Application Loader and Sign in with Apple ID you are trying to upload build file.
In my case, instead of signing out, I gave admin permission to info#cninfotech.com account and I was able to upload my app.
Hope this will help someone.

I just had the same error under these circumstances:
I have two Apple Developer accounts, one with emailA#foo.com and one with emailB#foo.com
I added emailB#foo.com as a user with the role "Marketing" to the account emailA#foo.com
Now the App Store seems to have been confused, thinking that the marketing account emailB#foo.com wanted to upload a binary, which is not allowed.
Had to delete my emailB#foo.com account from Xcode and tried the upload again and it worked 🚀

It is possible that your (apple id from which you are trying to upload build) session has been expired. In my case it was expired. You need to login again.
Check by using below steps
XCode>Preferences>Accounts

Removed all other accounts which is related to that app(uploading app) except the one was App Manager, Admin and may be developer of the project.

Though the role is Admin, i got this error. I solved it by uploading the same build using transporter app by Apple.

My solution was:
Remove others accounts in Xcode -> Preferences -> Accounts
or move your needed Apple ID account to the top of the list.

I finally overcome this annoying problem, the approach is to transfer the agent to another account.

Related

xCode 9.4.1 no account with itunes connect access have been found for the team

I'm using Xcode 9.4.1
Clearning drived data.
Close full xcode and reopen.
Delete the certificate and add it again.
Delete account in deverlop team and add it again.
Delete account in xcode perferences and add it again.
I fixed the problem 2 days but failed all.
I'm test use Application Loader. But login fail. tried use password special
is fail password.
Looking at the image you have shared, it seems that you only have access to developer account and not to iTunesConnect( renamed to AppStoreConnect by Apple). You should contact your admin to get the access for it.
Just a quick try:
Can you be able to login to this https://appstoreconnect.apple.com/login
with the credentials you are having? If not then you should contact your admin to grant you access. Otherwise there might be some other problem.
Try and share your results.

Your account does not have permission to create iOS distribution certificates

I want to upload my app to testflight. when I upload the app Xcode shows this error:
your account does not have permission to create ios distribution certificates
Anyone help me?
This seems to be a bug or poorly described feature in iTunes Connect & the Apple Developer portal.
I had a developer that joined my team, initially as a "member", but wasn't able to create certificates, even after giving him admin access. It turns out, that I believe we were only giving him admin access to Itunes connect, but not to the developer page.
The correct fix was to go to the developer portal, click the "People" tab (or go to this URL https://developer.apple.com/account/#/people/), remove his access, then use the Invite as Admins to add him to the account. He then had to go into Xcode and remove his developer account information, add it back in, and then he was finally able to upload builds to Testflight without this error.
This should be the user permission issue. Please note that only user with Team Agent role has permission to generate certificates for distribution of app outside the App Store. I believe, you are not in Team Agent role. Please double check your permissions.
You can even generate a Certificate Signing Request and send it to your Team Agent. Get back the created certificate from the Team Agent and use it to sign apps.
Based on your comment "Yes, we have a developer account for Team" I am guessing that what you have is an Enterprise Developer account. If you have a Enterprise DA you cannot upload to the apple store/test-flight. You will need to create a personal developer account for that. Enterprise accounts are only good for in house testing and not for external. That's why you are getting this error.
Using keychain, export valid certificate on a computer on which iOS distribution signing identity works. You need two files, one is public - <fileNamePublic>.pem file, and other is private - <fileNamePrivate>.p12 file.
Put those files in a folder on computer on which you need signing identity to work.
Open terminal and browse to the folder you've put them in.
First, type: security import <fileNamePrivate>.p12 -k ~/Library/Keychains/login.keychain
Then type: security import <fileNamePublic>.pem -k ~/Library/Keychains/login.keychain
Open XCode, go to XCode>preferences>accounts>view details and refresh the apple id you are using
You should have signing identities enabled.
Perhaps your iTunes Connect account does not have the correct role?
I was receiving similar error and also, I had a permission to create certificate with my account which has developer role. I tried all of the solutions but none of them worked for me. Therefore, I downloaded provisioning profile from developer account and I used that provisioning profile from manual signing when I was archiving to my build then error disappeared.
Every thing was good with my account, no permission changed as already it was same email id used to purchase the account.
I fixed this problem by removing the account from Xcode preferences and again added it. What i did was immediately added credentials in Xcode preferences right after purchasing the account. I should have to wait for Apple to process the order.
For anyone finding this now: Team Agent no longer exists. If your role is Admin or App Manager you can upload builds and create provisioning profiles, etc. Note that if you get this error when you upload, then ask for the correct permissions and it still doesn't work, quit Xcode and try again!
Perhaps your provisioning profile was expired and even after updating it from Apple's developer website, Xcode doesn't try to fetch the new one.
Here's how to solve it:
Xcode -> preferences -> accounts
Select your Apple ID, and on the right bottom pane select your team and click View Details
Under provisioning profile, find your expired profile, right click, and click Move to Trash
You should be able to sign and upload your app.
If you are getting the same error...Create the .ipa file and upload to https://www.diawi.com/
you will get an link, which you can share with your client.It's not a solution for your question but it will help you.

Your Apple ID account is also attached to other iTunes providers

I am getting this problem when trying to login to application loader.
"Your Apple ID account is also attached to other iTunes providers. You will need to create a new user on iTunes Connect to submit content to this account. Please contact us if you have questions or need help."
Can any on help me how to solve this issue???
Thanks
Application Loader, which I downloaded from developer portal, does show this error.
But Application Loader that comes with Xcode, worked fine.
Xcode -> Open Developer Tool -> Application Loader
I did fixed it without creating or changing accounts. It worked for me because I had pending agreements on ITC.
I first went to itunesconnect.apple.com and I revised my pending agreements, I had this pending:
I added some extra info and got an email from apple. I refreshed ITC and the error was gone.
Then I opened application loader via Xcode: Xcode > Open Developer Tool > Application Loader, and I could login again.
Yeah ,the account you in which you have paid , that means your developer account. It is the one in which is to be used in application loader. Other account cannot be access using yours.
Secondly your developer account work in everywhere
1) developer.apple.com
2) itunes.connect
3) application loader
4) also in creating build through Xcode

Development team not showing in Xcode

I am an self-employed iOS developer and so have my own iOS distribution membership.
For a few days, I am working as a developer in a team. My apple account has been added in their iTunes Connect / Users and Roles. It works since I can access to the app details of the current app we develop.
However, I can't get it right on Xcode. And so Xcode says the bundle ID is not right because I don't have the provisioning profiles.
In 'Project>General>Identity>Team', I can only select my own account and I don't see the new team I am part of.
I don't see it neither in the Accounts page of Xcode preferences.
A provisioning profile has been created by the team leader for me. It didn't solve the problem.
Question: How to add new team we belong to in Xcode?
Note - at long last Apple will resolve this insanity,
They are finally fixing it in 2018:
Apple has now unified both AppStore Connect and developer.apple.com systems.
To add profile & certificates capabilities:
Navigate to App Store Connect > Users and Access
Select your user account. (You may need to be a team admin to do this.)
In section "Developer Resources", check the box "Access to Certificates, Identifiers & Profiles".
You will only see this option when your dev account is a 'Organization'
Update: This answer posted in February 2019 is still valid as of September 2021
Overwhelming issue here:
Apple have two totally different fundamental systems,
- the "developer.apple" system
and the
- iTunes connect system
They are completely different. As a rule you need to be in both.
It's the single most confusing (and ridiculous) thing in the whole software industry. It is a source of endless confusion.
When you suffer the problem on this page, 99% of the time the solution is "they added me on iTunes Connect, but they forgot to add me on Developer..." or "they forgot to make me an admin on one or the other."
If you are added to a existing team, Ask for an invitation as Admin
Go in apple developer center: https://developer.apple.com/account
Again, that's developer.apple,
NOT
itunesconnect.apple !!!
Once you are in at developer.apple.com/account, be sure you are in the correct team on the top right corner:
Go in section people
Be sure your are admin :
If everything it's ok here. So stop completelly Xcode and restart it.
Be sure your account is added to Xcode in Preference->Account
If not, click on the + on the bottom left corner and add your account.
Now, in your project, go on your target :
And in team, your new team must appear :
To repeat,
on Apple, there IS A DIFFERENCE BETWEEN 'DEVELOPER' AND 'ITUNES CONNECT' THINGS.
Your company has to invite you on the "developer thing" as shown in the images here. If you're "only" invited on the "itunes thing", nothing works. Really silly and bizarre, but that's how it is.
Xcode does not see your development team(it is not a personal team) until admin check in the next setting in AppStoreConnect even if your role is Developer
Access to Certificates, Identifiers & Profiles
SOLUTION : My account was not added in the certificates page of the member center of the development team leader.
He just added me and I received an invitation to join. It solved the problem since I can now select my team in Xcode.
For those who live in 2021 but are simply lost, here is where the "Team" button moved !
You’ll simply find it under the section “Signing and Capabilities” instead of “Main”. See the image below:
In addition of what #opyh said, your user must have checked the option "Access to certificates, identifiers and profiles." in https://itunesconnect.apple.com/access/users to see your own team.
After that, you have to add your account in xcode > target > team, and you will show your user is assigned to a team.
For this you have to do following things:
Check whether your apple ID is added into the team on Apple
Developer portal with specific role. If not then it should be added.
After that you have to add your apple account in the
settings of the Xcode at following path. If added then remove and add again
Xcode -> Preferences ->
Accounts -> Add the account by clicking on 'Plus' (+) button on the
left botttom section
If this is done and still have a issue then regenerate the provisioning profile, install and use it.
It seems when Apple merged App Store Connect and Developer accounts, some accounts have been missed, like mine – In my case (I am part of a team, but not the account holder), I had to use a different solution:
Check if your team shows up on https://appstoreconnect.apple.com (as entry in the menu in the top right corner)
Check if your team shows up on https://developer.apple.com/account (as entry in the menu in the top right corner)
If the team is missing in one of the menus, let the account owner remove your membership in App Store Connect and re-invite you. After accepting your new invitation, the missing team should be displayed on both App Store Connect and the Developer portal. Now you can also use it in Xcode.
You may also need the appropriate certificate. without the need to have full access to certifications or to be full admin
you can email the creator of the signing certificate. Ask the creator to export the signing certificate on their Mac so you can install it on your Mac.
Please see the link below for more information:
Apple's documentation of what app signing is
https://help.apple.com/xcode/mac/current/#/dev3a05256b8
Apple's documentation on how to "Create, export, and delete signing certificates"
https://help.apple.com/xcode/mac/current/#/dev154b28f09
I faced into the same issue, after 1 hour trying many ways, they showed your developer program was expired :D. Why don't it show at the first time to save my time.
For me I had to go build settings under Signing -> Code signing identity then changed it to iOS Developer and went under Development team -> select others then add the team key.
I had this same issue. I needed my admin to additionally grant me 'Access to Certificates, Identifiers & Profiles'. The solution was given here by user bruno887 https://developer.apple.com/forums/thread/117098
If you recently signed into the account, ensured you have the correct permissions in Apple Developer + App Store Connect, and still can't get a new team to show up, I've had to restart my computer or log out / log in order to get it to appear. Sounds crazy but this has been the only resolution for me on multiple occasions.
Removing the user in App Store Connect, Mac Settings, and re-login the user that worked for me.

The selected team doesn't have an iOS Developer Program membership

I'm attempting to add myself as a developer on a team for iOS. (It's a university program)
I go into Xcode, select the team name, and click "fix issue" (earlier it was having code signing problems, which I fixed). It returns this error: "The selected team doesn't have an iOS Developer Program membership"
This is false, I know for sure that the team is an iOS development team. And on developer.apple.com it shows me as logged in on the iOS team. Xcode just won't recognize this fact. Please help.
(Video of problem: http://screencast.com/t/mu5mV8WmD)
I got this error when the developer account from Xcode was using an old Apple id email address. Deleting that account from Xcode and adding it back again solved the issue for me.
I had this problem after i changed password to my apple id account, it is seem to be that somehow it unable to request your data about your account and certificate. So it's "Select a team with an iOS Developer Program membership and try again.".
Confirm that deleting account from Xcode and adding it resolves the problem.
If you changed your password, go to Xcode - preferences and change the password in the relevant account
What worked for me was removing it and adding it again as suggested above (not sure if its necessary) and then selecting another team, and then selecting the original one again. If you are only the member of one team you may just have to remove and add again.
here is how I have solved the same problem. I had a valid membership account. But it wasnt recognizing it.
So;
I have made the Team to none in (General/Identity)
Then clean The project
Changed the Provisioning profile to Automatic in (BuildSettings/CodeSigning)
the most important part (I had add the device using its id in (membercenter/Devices)
I have added a new account using (General/Identity) ( try this if selecting the previous account from here doesnt work)
Then I have started the app, and it works in the real device
Hope it helps
This happened to me when iTunes Connect went down. I had a feeling it was down because I traced the error back to bad account credentials, and twitter confirmed my suspicions.
I actually got this fixed. I just talked to my account admin, and he added me as a new project under the university account, which solved my problem.

Resources