x-code:8.0
应用程序在路径中不存在或者不是应用程序包。
/Library/Ruby/Gems/2.0.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/app/DeviceAgent-Runner.app
捆绑必须:
initialize'
/Library/Ruby/Gems/2.0.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/ios_device_manager.rb:86:in
new'
/Library/Ruby/Gems/2.0.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/ios_device_manager.rb:86:in launch'
/Library/Ruby/Gems/2.0.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/client.rb:1233:in
launch_cbx_runner'
/Library/Ruby/Gems/2.0.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/client.rb:264:in launch'
/Library/Ruby/Gems/2.0.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/client.rb:140:in
run'
/Library/Ruby/Gems/2.0.0/gems/run_loop-2.2.2/lib/run_loop.rb:113:in run'
/Library/Ruby/Gems/2.0.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/launcher.rb:408:in
阻止在new_run_loop中
/Library/Ruby/Gems/2.0.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/launcher.rb:406:in times'
/Library/Ruby/Gems/2.0.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/launcher.rb:406:in
new_run_loop'
/Library/Ruby/Gems/2.0.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/launcher.rb:365:in relaunch'
/Users/sbg1/Documents/SBGcode/GitCucumber_trunk/sbg-mobile-test/banking/PBBI/features/ios/support/01_launch.rb:28:in
之前'答案 0 :(得分:1)
Calabash iOS不再支持Apple的系统ruby。
我们建议您使用rbenv安装ruby 2.3.1。我们建议您避免使用rvm。
请参阅此维基页面了解详情。
答案 1 :(得分:0)
验证/Library/Ruby/Gems/2.3.0/gems/run_loop-4.1.0/lib/run_loop/device_agent/app/DeviceAgent-Runner.app
存在。
对我来说,DeviceAgent-Runner.app.zip
目录中只有app
,将其解压缩到DeviceAgent-Runner.app
Calabash iOS后就可以使用。