我正在尝试在CircleCI中运行calabash-ios。我收到以下错误。有没有办法找出应该使用的路径或文件位置?错误信息附在下面。
Error... Unable to find APP_BUNDLE_PATH.
Cannot find a built app that is linked with calabash.framework
Please build your app from Xcode
You should build your calabash target.
Alternatively, specify APP_BUNDLE_PATH in features/support/01_launch.rb
This should point to the location of your built app linked with calabash.
(RuntimeError)
/Library/Ruby/Gems/2.0.0/gems/calabash-cucumber-0.14.3/lib/calabash-cucumber/launch/simulator_launcher.rb:245:in `app_bundle_or_raise'
/Library/Ruby/Gems/2.0.0/gems/calabash-cucumber-0.14.3/lib/calabash-cucumber/launcher.rb:569:in `relaunch'
/Users/distiller/iOSAppTest/features/support/01_launch.rb:27:in `Before'
我已经在我的机器上进行了本地测试,但它运行正常,但它不适用于CircleCI。
答案 0 :(得分:0)
https://gist.github.com/JonasCz/a3b81def26ecc047ceb5
这应该指向与calabash链接的构建应用的位置。
要点是你需要告诉Calabash .app包的位置。我对CircleCI不熟悉,所以我没有具体的建议。
在本地你会这样做:
$ APP=/path/to/the/App.app cucumber
您可以使用用于启动黄瓜的完全命令更新您的答案吗?