How do I set the CERTIFICATES #1943
Replies: 2 comments 2 replies
-
Have you tried following iOS native code signing docs for easier signing? You only have to: connect your Developer Portal with Codemagic, upload your certificate, upload the right provisioning profile and add a few lines in codemagic.yaml. I see that you are trying to manually code sign. If you wish to continue that, try and follow these docs here. I see in your workflow you have not imported any variable groups, on which manual code signing all ultimately depends on. The certificate is set by utilizing our environment variables: you encode your certificate and provisioning profiles to base64, then add these as our environment variables, which makes these variables available in your build scripts. Certificate is then written into a file and added into Keychain. Later, Xcode is retrieving these values from there. However, note that you have to import the environment variables first in YAML, like this (I added CM_CERTIFICATE AND CM_PROVISIONING_PROFILE as environment variables to a group called "code_signing"):
Please refer to the manual code signing docs, complete it step-by-step. If any issues appear, let me know. |
Beta Was this translation helpful? Give feedback.
-
Closing this thread tenatively due to inactivity. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Steps to reproduce
My project is using the native iOS app, and not using any framework.
This is my workflow
How do I set the certificate? I'm genuinely confused with the process.
Expected results
The build runs successfully
Actual results
I got this error when trying to "Add signing certificate"
Build id (optional)
No response
Beta Was this translation helpful? Give feedback.
All reactions