Search code examples
iosxcodeapp-store-connect

Invalid team ID in signature


We are working on an app, that was originally created by other developers. They added our account to iTunes Connect as Admin role and to Member Center as Admin too. We added that account to Xcode and we've chosen "Team" setting under Target to match the right team.

When we are trying to archive and upload new version, Xcode returns error:

No accounts with iTunes Connect access.

But if I try to log in to iTunes Connect, it works normally.

I tried uploading new version by exporting .ipa and uploading in via Application Loader. After unsuccessful upload, I get a mail like the following:

Invalid team ID in signature - The code signature in bundle 'com.example' at 'example.app' has a team identifier value that is different from your team identifier 'EXAMPLE'.

Under keychain certificates, there is iPhone Distribution Certificate with that team name. How to resolve this whole problem?


Solution

  • Under the target of your Xcode project in the main settings page (when you first click on the target) you will see a drop down called Team. You need to make sure you have the right team selected that goes with the proper bundle I'd