Git Product home page Git Product logo

Comments (8)

shoshRose avatar shoshRose commented on July 19, 2024

i now skipped 'cert' step and continued with 'sigh' and i get the message: "Found more than one code signing identity. Choosing the first one."
why can't cert find them but sigh can?

from cert.

gregk8288 avatar gregk8288 commented on July 19, 2024

I'm having the same issue:

[12:54:47]: Successfully logged in
[12:54:52]: Certificate XXX (YYY (PTY) LTD) can't be found on your local computer
[12:54:55]: $ security import .../4J5FFJB2PF.p12 -k '.../Keychains/login.keychain' -T /usr/bin/codesign -T /usr/bin/security
security: SecKeychainItemImport: The specified item already exists in the keychain.
[12:54:55]: $ security import .../4J5FFJB2PF.cer -k '.../Library/Keychains/login.keychain' -T /usr/bin/codesign -T /usr/bin/security
security: SecKeychainItemImport: The specified item already exists in the keychain.
[12:54:55]: Found the cached certificate XXX (YYY (PTY) LTD). Using this one.
[12:54:55]: Verifying the certificated is properly installed locally...

[!] Could not find the newly generated certificate installed

from cert.

vpolouchkine avatar vpolouchkine commented on July 19, 2024

@shoshRose Can you please share your setup? Versions used, full log, Fastfile, etc. Thanks!

from cert.

shoshRose avatar shoshRose commented on July 19, 2024

version 1.3.0
log:

10:38:51: --- Step: cert ---

+---------------+------------------------------------+
| Summary for cert 1.3.0 |
+---------------+------------------------------------+
| development | false |
| force | false |
| username | [email protected] |
| team_id | XXX|
| keychain_path | ~/Library/Keychains/login.keychain |
+---------------+------------------------------------+

10:38:51: Starting login with user '[email protected]'
[10:38:53]: Successfully logged in
[10:38:57]: Certificate 123(xxx, Inc.) can't be found on your local computer
[10:38:58]: Certificate 456(xxx, Inc.) can't be found on your local computer
[10:39:00]: Certificate 789(xxx, Inc.) can't be found on your local computer
[10:39:00]: Couldn't find an existing certificate... creating a new one

[!] Could not create another certificate, reached the maximum number of available certificates.

fastfile: (only cert)
cert( username: ENV['APPLE_USERNAME'], team_id: ENV['TEAM_ID'] )

from cert.

vpolouchkine avatar vpolouchkine commented on July 19, 2024

Looks like you're missing private keys for these certificates. To fix this, you can revoke these certificates and regenerate using cert. As an alternative, you can use match to avoid these kind of issues.

from cert.

shoshRose avatar shoshRose commented on July 19, 2024

so how come 'sigh' can sign with these certificates?
also, do you know where the default location is for them?

from cert.

vpolouchkine avatar vpolouchkine commented on July 19, 2024

sigh can find the certificates, but will not actually be able to use them, eg. that error message should be improved. The default location is the current directory.

from cert.

fastlane-bot avatar fastlane-bot commented on July 19, 2024

This issue was migrated to fastlane/fastlane#1801. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

from cert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.