Has anyone found any bullet proof solution for this? When using Xcode 14 series? (And GitHub Actions, if related.)
Post
Replies
Boosts
Views
Activity
About those certificates.
If I go to Developer Apple's Certificates list page and start to create a new one (from + ), in the end of the page is links for four different certificates
Worldwide Developer Relations Certificate Authority (Expiring 02/07/2023)
Worldwide Developer Relations Certificate Authority (Expiring 02/20/2030)
Worldwide Developer Relations - G4 (Expiring 12/10/2030)
Developer ID - G2 (Expiring 09/17/2031)
Are those four only needed certificates in CI/CD machines or should I install some extras from https://www.apple.com/certificateauthority/? Newer ones?
-Harri
Yep. Unifying CI/CD machines and adding single line into workflow files solved this issue.
- name: Init
run: |
security unlock-keychain -p $PASSWORD
This is not probably the smoothest way to handle this, but we can live with this.
Thanks!
-Harri
The command solved this issue for me as well. Thank you! I noticed that before executing the command, there were n+1 different accounts listed in the Xcode 16 Settings - Accounts tab. The first one was my development account, but after that, there was a long scrollable list of ‘Unknown dev accounts’ (or something like that. Unfortunately, I had already deleted them all). With the command you mentioned, I was able to clear the entire list. After that, I logged in with my development account, and so far, everything has worked correctly.
(My use case is somewhat unusual, as these Xcodes are on CI/CD machines performing repetitive tasks (and mostly tasks run through CLI tools).)