Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kristopherjohnson/5503954 to your computer and use it in GitHub Desktop.
Save kristopherjohnson/5503954 to your computer and use it in GitHub Desktop.
Cupertino "ios devices:list" throws NoMethodError
$ ios devices:list --trace
Select a team:
1. First Team
2. Second Team
? 2
/Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/helpers.rb:37:in `team': undefined method `key' for #<Hash:0x10bf48308> (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/agent.rb:281:in `select_team!'
from /Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/agent.rb:30:in `get'
from /Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/agent.rb:21:in `times'
from /Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/agent.rb:21:in `get'
from /Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/agent.rb:90:in `list_devices'
from /Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/commands/devices.rb:7
from /Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/helpers.rb:53:in `try'
from /Library/Ruby/Gems/1.8/gems/cupertino-0.8.0/lib/cupertino/provisioning_portal/commands/devices.rb:7
from /Library/Ruby/Gems/1.8/gems/commander-4.1.3/lib/commander/command.rb:180:in `call'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.3/lib/commander/command.rb:180:in `call'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.3/lib/commander/command.rb:155:in `run'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.3/lib/commander/runner.rb:402:in `run_active_command'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.3/lib/commander/runner.rb:78:in `run!'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.3/lib/commander/delegates.rb:7:in `run!'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.3/lib/commander/import.rb:10
from /usr/bin/ios:23
@kristopherjohnson
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment