Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ios devices:list UnexpectedContentError #79

Closed
nixxle opened this Issue · 2 comments

3 participants

@nixxle

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:in
block (3 levels) in '
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:in
block (2 levels) in '
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:in
call'
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:in
run_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:in
run!'
from /Users/awesome/.rvm/gems/ruby-2.1.0-preview1/gems/commander-4.1.5/lib/commander/import.rb:10:in `block in '
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
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.