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?
For me the solution was to set the team in both General settings AND Build settings.
I'm using xcode 9.