Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code Signing "No account for team" message when signing for different developer account

I’ve been working on an app for a client using my own Apple Developer account so far while waiting for them to register a Developer account themselves.

They have done this— and the time has come for them to be able to build and run the project on their machine, but they’re getting this error:

Code Signing Error: No account for team "59xxxxxxxx". Add a new account in the Accounts preference pane or verify that your accounts have valid credentials. Code Signing Error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "59xxxxxxxx" with a private key was found.

The team ID in the error message is mine, what I’ve been using to build the project on my computers.

Their account has already been set in their Xcode's preferences pane, and I have been added as a member to that team.

I have worked on other projects with other developers where we could build the project simply by selecting our respective Team in the drop-down menu within the Signing section of the General project settings. For some reason when my client selects their team and tries to build the project it still produces this error.

Does anyone know what we're doing wrong?

like image 930
chmod Avatar asked Feb 02 '18 14:02

chmod


People also ask

What is code signing identity?

And, the Signing Identity in the Code Signing Identity is something, which consists of a public and private key pair that are specially created by an Apple. In other words, Code Signing Identity is referred to as the Common Name of the certificates which are installed in the Developer's machine Keychain.

What is automatic code signing?

Automatic code signing means automatically managing the provisioning profiles that are available on your Apple Developer Portal account. If you set up some form of authentication to your Apple account, Bitrise can download and install the provisioning profile for your app during the build process.

How do I add a team to my Apple developer account?

Enrolling in an Apple Developer Program To start, one person must enroll in either the iOS or OS X developer program; this person becomes the team agent for the team. The team agent may enroll in both programs if your team intends to develop apps for both operating systems.

Why is code signing needed?

The answer is code signing. To help users determine whether or not they can trust software before they install it, software publishers can digitally sign their code. A digital signature verifies who signed the code and that the code has not been subject to tampering.


2 Answers

The solution for me was to set the team in General settings of the target and in General settings of the Tests.

enter image description here

like image 180
Ibrahim Avatar answered Nov 16 '22 00:11

Ibrahim


For me the solution was to set the team in both General settings AND Build settings.

I'm using xcode 9.

like image 27
HenriC Avatar answered Nov 15 '22 22:11

HenriC