Skip to content
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

Hanging in pod keys set KEY VALUE #142

Closed
fabioknoedt opened this issue Jul 21, 2016 · 2 comments · Fixed by #177
Closed

Hanging in pod keys set KEY VALUE #142

fabioknoedt opened this issue Jul 21, 2016 · 2 comments · Fixed by #177

Comments

@fabioknoedt
Copy link

Hi,

One short question. Do I have to unlock my keychain when running cocoapods-keys in my CI agent (Bamboo)?
Right now all builds hang when I try to set a key using:
bundle exec pod keys set KEY VALUE

Thanks!

@ghost
Copy link

ghost commented Jul 28, 2016

Log executing it using Fastlane (Bamboo agent):

28-Jul-2016 23:44:51  [23:44:51]: $ bundle exec fastlane ios test
28-Jul-2016 23:44:51  [23:44:51]: For more information, check out https://guides.cocoapods.org/using/a-gemfile.html
28-Jul-2016 23:44:56  [23:44:56]: ————————————————————————
28-Jul-2016 23:44:56  [23:44:56]: --- Step: Verifying required fastlane version —
28-Jul-2016 23:44:56  [23:44:56]: ————————————————————————
28-Jul-2016 23:44:56  [23:44:56]: fastlane version valid
28-Jul-2016 23:44:56  [23:44:56]: ———————————————
28-Jul-2016 23:44:56  [23:44:56]: --- Step: default_platform —
28-Jul-2016 23:44:56  [23:44:56]: ———————————————
28-Jul-2016 23:44:56  [23:44:56]: Driving the lane 'ios test' ��
28-Jul-2016 23:44:56  [23:44:56]: ——————————————
28-Jul-2016 23:44:56  [23:44:56]: --- Step: unlock_keychain —
28-Jul-2016 23:44:56  [23:44:56]: ——————————————
28-Jul-2016 23:44:56  [23:44:56]: ————————————
28-Jul-2016 23:44:56  [23:44:56]: --- Step: set_pod_key —
28-Jul-2016 23:44:56  [23:44:56]: ————————————
28-Jul-2016 23:44:56  [23:44:56]: $ bundle exec pod keys set "HockeyDevelopmentApiToken" "XXXX" "ProjectS"

and then it hangs here forever…
(curious fact: it builds perfectly if I stop the current build and run it again)

@nommis
Copy link

nommis commented Aug 3, 2017

I had the same issue, it was because I was not in the XCodeProj directory. I added 'cd ..' before the command and it works perfectly now :)

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

Successfully merging a pull request may close this issue.

2 participants