Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Signing Error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "123456789A" with a private key was found. #56

Closed
jonmcclung opened this issue Jul 18, 2019 · 3 comments

Comments

@jonmcclung
Copy link

I was using an earlier version of this toolchain which was working well. I recently switched to HEAD and now I'm getting the following error:

Code Signing Error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "123456789A" with a private key was found.

After lots of fruitless Googling I tried to open the project in Xcode and build it from there instead of using cmake --build from the command line. I then noticed that the Development Team (under Build Settings) was "123456789A" instead of the correct value: "Jon McClung (Personal Team)". Manually changing that allowed the build to continue. This made me wonder where "123456789A" was coming from, so I did a global search and found the CMake variable CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM. After changing the Development Team back to "123456789A" in Xcode and setting this variable, the error was resolved.

I'm opening this issue so that other developers who run into the same problem can know how to fix it.

@CaiJingLong
Copy link

Maybe my understanding is not very good.

I now set the environment variable in the CMakeLists.txt with the set command.
set(CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM cjl_spy@163.com CACHE INTERNAL ""). And I get error:

Code Signing Error: No signing certificate "iOS Development" found:  No "iOS Development" signing certificate matching team ID "cjl_spy@163.com" with a private key was found.

Can I do the packaging without signing, my goal is to build a library without using a graphical interface.
For example: Use the CI program to complete the compilation of the source code to the framework.

Do you have any workable suggestions? @jonmcclung

@jonmcclung
Copy link
Author

@CaiJingLong I believe the workflow to find the correct id is

  1. Launch Keychain Access
  2. Open the Apple Development certificate
  3. Right Click > Get Info
  4. Find the key for Development Team

Unfortunately cannot verify at this time. Hope it helps.

@vHanda
Copy link

vHanda commented Jul 10, 2020

For anyone here looking for a solution -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants