Git Product home page Git Product logo

Comments (13)

siemensikkema avatar siemensikkema commented on July 20, 2024

I'm having the same problem. I managed to get it to work by executing:
cert -k ~/Library/Keychains/login.keychain
Alternatively it seems you could use the CERT_KEYCHAIN_PATH environment variable.
What would be the best fix for this, setting a default value in options.rb?

from cert.

retsohuang avatar retsohuang commented on July 20, 2024

@siemensikkema It works, but am I missing something so I need additional parameter?

from cert.

siemensikkema avatar siemensikkema commented on July 20, 2024

I'm not sure what's the reason. I'm also just figuring this stuff out as I go along! :)

from cert.

SpacyRicochet avatar SpacyRicochet commented on July 20, 2024

I can confirm this as well. It appears that it doesn't specify a proper default keychain directory when used vanilla. @siemensikkema's method worked.

Update: Looks like ruby -e "puts #{Dir.home}" prints nothing while ruby -e "puts 'e'" does print e. So maybe that line of code in the keychain_importer line 5 resolves to nil?

from cert.

GlaucoNeves avatar GlaucoNeves commented on July 20, 2024

Same problem here.

from cert.

KrauseFx avatar KrauseFx commented on July 20, 2024

The default value is "#{Dir.home}/Library/Keychains/login.keychain", do you run cert on some kind of CI which doesn't set the HOME environment variable?

from cert.

siemensikkema avatar siemensikkema commented on July 20, 2024

I have reverted my workaround (setting the "CERT_KEYCHAIN_PATH" in .env) and tested again. cert works fine now! I don't know what did the trick. I have updated fastlane and my shell (zsh) since. The HOME environment variable is set correctly.

from cert.

shoshRose avatar shoshRose commented on July 20, 2024

hey, i am running from a ci machine. what changes do i need to make?

from cert.

KrauseFx avatar KrauseFx commented on July 20, 2024

@shoshRose You have to set the environment variable CERT_KEYCHAIN_PATH

from cert.

shoshRose avatar shoshRose commented on July 20, 2024

@KrauseFx thnx

from cert.

shoshRose avatar shoshRose commented on July 20, 2024

started getting this again:
Certificate XXX (YYY, Inc.) can't be found on your local computer
i have the keychain path set

from cert.

vpolouchkine avatar vpolouchkine commented on July 20, 2024

shoshRose Can you please open a new issue with the details of your setup?

from cert.

fastlanebot avatar fastlanebot commented on July 20, 2024

This issue was migrated to fastlane/fastlane#3102. 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.