テストサーバーを起動しようとしています。以下のエラーが表示されます。 解決策を教えてください。私は宝石のバージョンの異なる組み合わせを試みたが、運がない。 これについてのお礼をいただきました。Calabash-iosコンソールはDEVICE_TARGET = 'iPhone 5(9.2)'で起動できません
私はあなたのコメントから、
DEVICE_TARGET='iPhone 5 (9.2)' calabash-ios console
irb(main):001:0> start_test_server_in_background
ArgumentError: Could not find a device with a UDID or name matching 'iPhone' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/run_loop-2.1.1/lib/run_loop/device.rb:126:in
device_with_identifier' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/run_loop-2.1.1/lib/run_loop/device.rb:160:in
detect_device' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/run_loop-2.1.1/lib/run_loop/core.rb:71:inrun_with_options' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/run_loop-2.1.1/lib/run_loop.rb:134:in
run' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/calabash-cucumber-0.18.1/lib/calabash-cucumber/launcher.rb:718:inblock in new_run_loop' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/calabash-cucumber-0.18.1/lib/calabash-cucumber/launcher.rb:716:in
times' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/calabash-cucumber-0.18.1/lib/calabash-cucumber/launcher.rb:716:innew_run_loop' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/calabash-cucumber-0.18.1/lib/calabash-cucumber/launcher.rb:584:in
relaunch' from /Users/test/.rvm/gems/ruby-2.0.0-p353/gems/calabash-cucumber-0.18.1/lib/calabash-cucumber/core.rb:943:instart_test_server_in_background' from (irb):1 from /Users/test/.rvm/rubies/ruby-2.0.0-p353/bin/irb:12:in
'
も、私は以下のように同じエラーを取得しています二重引用符で試した後:IRBを実行DEVICE_TARGET = "A45EB390-9BE5-4B49-A933-E1F91B5334CA" ひょうたん-IOSコンソール ... IRB(メイン):001:0> start_test_server_in_background と、ArgumentError:/Users/.rvm/gems/ruby-2.0.0-p353/gems/run_loopからUDIDまたは名前一致する 'iPhone' \tとデバイスが見つかりませんでした-2.1.1/lib/run_loop/device.rb:126: 'device_with_identifier ' \t /Users/.rvm/gems/ruby-2.0.0-p353/gems/run_loop-2.1.1/lib/run_loop/からdevice.rb:160: 'detect_device ' – apparao
私はUSBを使ってデバイスを接続していて、そのデバイスをXCODEの名前であるiPhone 5(9.2)で見ることができます。しかし、まだそれは動作していません。 宝石のバージョンに問題はありますか? – apparao
あなたのコメントに基づいて私の答えを更新しました。 – jmoody