ios devices:list UnexpectedContentError #79

Closed
nixxle opened this Issue Oct 11, 2013 · 2 comments

Projects

None yet

3 participants

@nixxle
nixxle commented Oct 11, 2013

First time Ruby user, so I am probably the reason I can't get it to work. Here's my output. Not sure what I am missing.

Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/cupertino-0.9.0/lib/cupertino/provisioning_portal/agent.rb:103:in list_devices': Cupertino::ProvisioningPortal::UnexpectedContentError (Cupertino::ProvisioningPortal::UnexpectedContentError) from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/cupertino-0.9.0/lib/cupertino/provisioning_portal/commands/devices.rb:7:inblock (3 levels) in <top (required)>'
from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/cupertino-0.9.0/lib/cupertino/provisioning_portal/helpers.rb:50:in try' from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/cupertino-0.9.0/lib/cupertino/provisioning_portal/commands/devices.rb:7:inblock (2 levels) in <top (required)>'
from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/commander-4.1.5/lib/commander/command.rb:180:in call' from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/commander-4.1.5/lib/commander/command.rb:180:incall'
from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/commander-4.1.5/lib/commander/command.rb:155:in run' from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/commander-4.1.5/lib/commander/runner.rb:402:inrun_active_command'
from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/commander-4.1.5/lib/commander/runner.rb:78:in run!' from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/commander-4.1.5/lib/commander/delegates.rb:7:inrun!'
from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/commander-4.1.5/lib/commander/import.rb:10:in `block in <top (required)>'
awesomes-Mac:~ awesome$

@enriquez

I'm not sure if Ruby 2.1 is supported, but I would try using Cupertino from your system installed Ruby.

$ rvm use system
$ ruby -v # should be 1.8.7 or 2.0.0
$ gem install cupertino

I don't have problems running this command with Ruby 2.0.0.

@mattt
Collaborator
mattt commented Nov 13, 2013

Great point, @enriquez—thanks for responding.

@nixxle Cupertino only officially supports GA releases of Ruby. Please try again with another version, like system Ruby or 2.0.

@mattt mattt closed this Nov 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment