Security Unlock-KeyChain -p "$ KeyChain_Password" ~/Library/Keychains/login.keychain-db
Код: Выделить всё
security set-key-partition-list -S apple-tool:,apple:,codesign:,productbuild:,xcodebuild: \
-s -k "$KEYCHAIN_PASSWORD" ~/Library/Keychains/login.keychain-db
security find-identity -v -p codesigning ~/Library/Keychains/login.keychain-db
< /code>
Однако мой вывод по -прежнему: < /p>
0 valid identities foundИз моих предыдущих запуска трубопровода я уже импортировал эти сертификаты:
Код: Выделить всё
Importing Apple root certificate...
1 certificate imported.
Importing Apple intermediate certificate...
1 certificate imported.
Importing Apple Distribution Certificate...
1 identity imported.
< /code>
Теперь импорт не удастся, потому что элементы уже существуют в ключевой манере: < /p>
security: SecKeychainItemImport: The specified item already exists in the keychain.Additional Info / Setup:
- Runner is set up as a shell runner on macOS
- When I SSH into that Shell и запустите безопасность Find -Identity -v -p CodeSigning , я вижу сертификаты распределения
Подробнее здесь: https://stackoverflow.com/questions/797 ... d-identity
Мобильная версия