Issue with 'bundle exec fastlane oss'
frederik-jacques opened this issue · 7 comments
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
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!
Having the same issue
@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 😅
Having the same issue
yep,I have the same issue.
yes, i have the same issue, it work.
Try using the following command to solve your problem:
bundle exec pod install --repo-update