Calabash在iOS控制台中找不到plist

Calabash在iOS控制台中找不到plist,第1张

概述我正在尝试使用start_test_server_in_background在calabash-ios控制台中启动测试服务器,但是收到错误,它无法找到目标的plist.我不确定我在这里做错了什么,我肯定会在内置的.app产品中看到Info.plist文件. irb(main):001:0> start_test_server_in_backgroundRuntimeError: plist 'c 我正在尝试使用start_test_server_in_background在calabash-ios控制台中启动测试服务器,但是收到错误,它无法找到目标的pList.我不确定我在这里做错了什么,我肯定会在内置的.app产品中看到Info.pList文件.

irb(main):001:0> start_test_server_in_backgroundRuntimeError: pList 'com.desk.desk/Info.pList' does not exist - Could not read    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/run_loop-1.2.0/lib/run_loop/pList_buddy.rb:126:in `build_pList_cmd'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/run_loop-1.2.0/lib/run_loop/pList_buddy.rb:20:in `pList_read'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/run_loop-1.2.0/lib/run_loop/lipo.rb:114:in `binary_path'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/run_loop-1.2.0/lib/run_loop/lipo.rb:84:in `info'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/run_loop-1.2.0/lib/run_loop/lipo.rb:65:in `expect_compatible_arch'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/run_loop-1.2.0/lib/run_loop/core.rb:119:in `expect_compatible_simulator_architecture'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/run_loop-1.2.0/lib/run_loop/core.rb:214:in `run_with_options'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/run_loop-1.2.0/lib/run_loop/core.rb:793:in `run'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/calabash-cucumber-0.12.0/lib/calabash-cucumber/launcher.rb:737:in `block in new_run_loop'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/calabash-cucumber-0.12.0/lib/calabash-cucumber/launcher.rb:735:in `times'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/calabash-cucumber-0.12.0/lib/calabash-cucumber/launcher.rb:735:in `new_run_loop'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/calabash-cucumber-0.12.0/lib/calabash-cucumber/launcher.rb:610:in `@R_415_4404@'    from /Users/jforrest/.rvm/gems/ruby-2.1.2/gems/calabash-cucumber-0.12.0/lib/calabash-cucumber/core.rb:849:in `start_test_server_in_background'    from (irb):1    from /Users/jforrest/.rvm/rubIEs/ruby-2.1.2/bin/irb:11:in `<main>'

我的环境

irb(main):003:0> server_version['version']"0.12.0"calabash-ios version0.12.0xcodebuild -versionXcode 6.1.1Build version 6A2008axcode-select --print-path/Applications/Xcode.app/Contents/Developer
解决方法 希望有一个真正的解决方案.
但是我今天升级葫芦之后遇到了同样的问题.
现在我通过将葫芦黄瓜降级到版本0.11.4并将run_loop降级到1.1.0来解决它

因此,虽然它不是真正的解决方案,但它应该足以让你重新开始运行.

总结

以上是内存溢出为你收集整理的Calabash在iOS控制台中找不到plist全部内容,希望文章能够帮你解决Calabash在iOS控制台中找不到plist所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1025775.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-23
下一篇2022-05-23

发表评论

登录后才能评论

评论列表(0条)

    保存