-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't give travis machine keychain access #166
Comments
Maybe you should use ENV vars on CI so you don't actually need the keychain? From README:
|
Hey @marcelofabri, thanks for the quick reply. I of course did have environment variables encrypted in travis, but they did not have the same name as the key. One thing that I'm unclear on from this snippet of the README, which I had originally missed, is do I need to call |
I don't this it's needed - see the |
I have successfully witnessed cocoapods-key use a local environment variable on my own machine instead of using a key in the keychain. To test this, I deleted the However, despite the fact that I have now encrypted my variable in travis with the same variable name as the key name, these header files are still missing during compilation in Travis. I'm not quite sure how to proceed at this point. The logs for the branch I am testing are here specifically for the job in the build with CONTENFUL_SDK='CMA' |
@marcelofabri I don't fully understand the circle.yml file as I have never used circle before. What does |
I found out the reason for my missing header files: While debugging, I frequently cleared key(s) from my machine with I would have expected
Is this the expected behavior of |
I don't think anyone really thought of deleting the yml file once all keys were removed, welcome to have that added 👍 |
Hi, has the removal of the yml file been added since? |
Nope, you're welcome to take a look |
When running my tests on travis, after setting my key with cocoapods keys and running
bundle exec pod install
, for some reason the header files for my Keys are not found during compilation.My best guess as to why this is happening is that I am unable to give Ruby keychain access—the reason that I have made this assumption is that with a freshly installed Ruby, my own machine gives me a UI prompt to give access when running
bundle exec pod install
Is there something I am missing here in my use of cocoapods-keys? Or do I need to investigate scripting the enabling of keychain access?
The text was updated successfully, but these errors were encountered: