【问题标题】:Calabash iOS does not run after updateCalabash iOS 更新后无法运行
【发布时间】:2014-10-03 16:43:41
【问题描述】:

在上次 Calabash 更新后,我无法再运行测试了。我用:

  • 葫芦-黄瓜-0.10.2
  • run_loop-1.0.8
  • ruby-2.1.0
  • Xcode 6.0.1
  • 和 Xamarin Calabash 组件 (Xamarin Test Cloud Agent 10.1.1)

当我尝试运行测试时,我得到:

undefined method `[]' for nil:NilClass (NoMethodError)
  /Users/user/.rvm/gems/ruby-2.1.0/gems/run_loop-1.0.8/lib/run_loop/sim_control.rb:688:in `enable_accessibility_in_sim_data_dir'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/run_loop-1.0.8/lib/run_loop/sim_control.rb:292:in `block in enable_accessibility_on_sims'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/run_loop-1.0.8/lib/run_loop/sim_control.rb:291:in `map'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/run_loop-1.0.8/lib/run_loop/sim_control.rb:291:in `enable_accessibility_on_sims'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/run_loop-1.0.8/lib/run_loop/core.rb:95:in `run_with_options'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/run_loop-1.0.8/lib/run_loop/core.rb:687:in `run'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/calabash-cucumber-0.10.2/lib/calabash-cucumber/launcher.rb:718:in `block in new_run_loop'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/calabash-cucumber-0.10.2/lib/calabash-cucumber/launcher.rb:716:in `times'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/calabash-cucumber-0.10.2/lib/calabash-cucumber/launcher.rb:716:in `new_run_loop'
  /Users/user/.rvm/gems/ruby-2.1.0/gems/calabash-cucumber-0.10.2/lib/calabash-cucumber/launcher.rb:597:in `relaunch'
  /Users/user/Projects/CalabashTest/features/support/01_launch.rb:27:in `Before'

在“calabash-ios sim acc”或“calabash-ios console”中,当我尝试运行start_test_server_in_background 时,我遇到了同样的错误。 非常感谢任何帮助。

【问题讨论】:

    标签: xamarin calabash calabash-ios


    【解决方案1】:

    已通过恢复为 ruby 2.0.0p481 修复。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-08-14
      • 1970-01-01
      • 2020-09-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-04
      • 2021-02-26
      相关资源
      最近更新 更多