Search code examples
iosxcodexamarin.iosjenkinskeychain

MonoTouch + Jenkins - how to use my keychain accounts to build for iOS devices


I have successfully installed Jenkins CI. It uses it's own user jenkins for build operations.

I'd set up build steps. When Jenkins tried to build project for iOS devices, error appeared:

ERROR: No valid iPhone code signing keys found in keychain.

Seems like jenkins user account doesn't have keys and certificates in keychain, which my basic user account have. How to grant jenkins user access to my keychain entities?

Note: seems like for Xcode native projects code signing problem was solved via Xcode plugin.


Solution

  • You can copy your user's certificates to the system certificate. The Jenkins user will then be able to see those certificates. See this answer https://stackoverflow.com/a/9477067/1131820