HomeiOS Developmentmacos - iOS safety keychain points in pipeline no legitimate id

macos – iOS safety keychain points in pipeline no legitimate id


I’m making an attempt to make use of Fastlane with the intention to publish the app. In my pipeline script, I’m doing the next steps:

safety unlock-keychain -p “$KEYCHAIN_PASSWORD” ~/Library/Keychains/login.keychain-db

safety set-key-partition-list -S apple-tool:,apple:,codesign:,productbuild:,xcodebuild: 
  -s -k "$KEYCHAIN_PASSWORD" ~/Library/Keychains/login.keychain-db

safety find-identity -v -p codesigning ~/Library/Keychains/login.keychain-db

Nonetheless, my output nonetheless is:

0 legitimate identities discovered

From my earlier pipeline runs, I’ve already imported these certificates:

Importing Apple root certificates...
1 certificates imported.
Importing Apple intermediate certificates...
1 certificates imported.
Importing Apple Distribution Certificates...
1 id imported.

Now, the import fails as a result of the objects exist already within the keychain:

safety: SecKeychainItemImport: The required merchandise already exists within the keychain.

However it doesn’t matter what I do, the output all the time says 0 legitimate.

Further Data / Setup:

  • Runner is about up as a shell runner on macOS
  • After I SSH into that shell and run safety find-identity -v -p codesigning, I can see the distribution certificates accurately

Tried importing certificates, creating temp keychain, all failed with the identical challenge — no legitimate id discovered.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments