Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Issue with 'bundle exec fastlane oss' #679

Open
frederik-jacques opened this issue Oct 8, 2017 · 7 comments
Open

Issue with 'bundle exec fastlane oss' #679

frederik-jacques opened this issue Oct 8, 2017 · 7 comments

Comments

@frederik-jacques
Copy link

Hi,

I was trying to install the Eidolon project, but I get the following error when running bundle exec fastlane oss

+------+---------------------------------------------------------------+-------------+
|                                  fastlane summary                                  |
+------+---------------------------------------------------------------+-------------+
| Step | Action                                                        | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1    | Verifying required fastlane version                           | 0           |
| 2    | Switch to oss_keys lane                                       | 0           |
| 💥   | cd .. ; bundle exec pod keys set ArtsyAPIClientSecret '-' Eid | 6           |
+------+---------------------------------------------------------------+-------------+

[14:16:52]: fastlane finished with errors

bundler: failed to load command: fastlane (/usr/local/bin/fastlane)
FastlaneCore::Interface::FastlaneShellError: [!] Exit status of command 'cd .. ; bundle exec pod keys set ArtsyAPIClientSecret '-' Eidolon ; bundle exec pod keys set ArtsyAPIClientKey '-' Eidolon ; bundle exec pod keys set HockeyProductionSecret '-' Eidolon ; bundle exec pod keys set HockeyBetaSecret '-' Eidolon ; bundle exec pod keys set SegmentWriteKey '-' Eidolon ; bundle exec pod keys set CardflightStagingAPIClientKey '-' Eidolon ; bundle exec pod keys set CardflightStagingMerchantAccountToken '-' Eidolon ; bundle exec pod keys set StripeStagingPublishableKey '-' Eidolon ; bundle exec pod keys set CardflightProductionAPIClientKey '-' Eidolon ; bundle exec pod keys set CardflightProductionMerchantAccountToken '-' Eidolon ; bundle exec pod keys set StripeProductionPublishableKey '-' Eidolon' was 1 instead of 0.

---------------------------------------------
Error loading the plugin `cocoapods-keys-2.0.0`.

I found this issue (#636) where someone was having the same problem and that led me to an issue on the CocoaPod-Keys library (orta/cocoapods-keys#139).

If I ran sudo chmod -R go+r /Library/Ruby/Gems/2.3.0/gems/cocoapods-keys-2.0.0 and then executed bundle exec fastlane oss again, everything works again.

I'm not really sure where to post this issue exactly (here or on the CocapodsKey project).

Kind regards,
Frederik

@ashfurrow
Copy link
Contributor

Hmm, thanks for opening the issue! I'm not sure where to go with this one. I think I'll leave the issue open for others to find, but it seems to be relatively rare. Thanks again for reporting and documenting your solution!

@armandsLa
Copy link

Having the same issue

@ashfurrow
Copy link
Contributor

@armandsLa did the workaround solve the issue? It's really hard to reproduce this for me because all of my machines have custom Ruby versions 😅

@Tanyd31
Copy link

Tanyd31 commented Dec 29, 2017

Having the same issue

@NearMilk
Copy link

yep,I have the same issue.

@aiquantong
Copy link

yes, i have the same issue, it work.

@sunzeboy
Copy link

Try using the following command to solve your problem:
bundle exec pod install --repo-update

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants