calabash-ios 在 CircleCI 中如何找到 App Bundle Path
calabash-ios in CircleCI how to find App Bundle Path
我正尝试在 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。
http://calabashapi.xamarin.com/ios/file.ENVIRONMENT_VARIABLES.html#label-APP+and+APP_BUNDLE_PATH
This should point to the location of your built app linked with calabash.
要点是您需要告诉 Calabash .app 包在哪里。我对CircleCI不熟悉,所以没有具体的建议。
在本地你会这样做:
$ APP=/path/to/the/App.app cucumber
你能用你用来启动 Cucumber 的 exact 命令更新你的答案吗?
我正尝试在 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。
http://calabashapi.xamarin.com/ios/file.ENVIRONMENT_VARIABLES.html#label-APP+and+APP_BUNDLE_PATH
This should point to the location of your built app linked with calabash.
要点是您需要告诉 Calabash .app 包在哪里。我对CircleCI不熟悉,所以没有具体的建议。
在本地你会这样做:
$ APP=/path/to/the/App.app cucumber
你能用你用来启动 Cucumber 的 exact 命令更新你的答案吗?