xcpretty / xcode-install

🔽 Install and update your Xcodes
https://fastlane.tools
MIT License
2.59k stars 243 forks source link

Service key is empty #368

Closed pronebird closed 5 years ago

pronebird commented 5 years ago
xcversion list                           
Service key is empty
Traceback (most recent call last):
    24: from /Users/pronebird/.rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `<main>'
    23: from /Users/pronebird/.rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `eval'
    22: from /Users/pronebird/.rvm/gems/ruby-2.5.1/bin/xcversion:23:in `<main>'
    21: from /Users/pronebird/.rvm/gems/ruby-2.5.1/bin/xcversion:23:in `load'
    20: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/xcode-install-2.6.3/bin/xcversion:12:in `<top (required)>'
    19: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    18: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/xcode-install-2.6.3/lib/xcode/install/list.rb:13:in `run'
    17: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/xcode-install-2.6.3/lib/xcode/install.rb:309:in `list'
    16: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/xcode-install-2.6.3/lib/xcode/install.rb:418:in `list_versions'
    15: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/xcode-install-2.6.3/lib/xcode/install.rb:203:in `seedlist'
    14: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/xcode-install-2.6.3/lib/xcode/install.rb:380:in `fetch_seedlist'
    13: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/xcode-install-2.6.3/lib/xcode/install.rb:339:in `spaceship'
    12: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/portal/spaceship.rb:103:in `login'
    11: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/portal/spaceship.rb:25:in `login'
    10: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:346:in `login'
     9: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:384:in `login'
     8: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:769:in `do_login'
     7: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/portal/portal_client.rb:28:in `send_login_request'
     6: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:471:in `send_shared_login_request'
     5: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:676:in `request'
     4: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:785:in `log_request'
     3: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:835:in `extract_key_from_block'
     2: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:476:in `block in send_shared_login_request'
     1: from /Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:536:in `itc_service_key'
/Users/pronebird/.rvm/gems/ruby-2.5.1/gems/fastlane-2.118.1/spaceship/lib/spaceship/client.rb:557:in `rescue in itc_service_key': Could not receive latest API key from App Store Connect, this might be a server issue. (Spaceship::AppleTimeoutError)
LoadingIndicator commented 5 years ago

Same problem for me.

jpsim commented 5 years ago

I fixed this with gem install fastlane && fastlane fastlane-credentials remove

pronebird commented 5 years ago

@jpsim that helped! closing the issue. 👍