Search code examples
cucumbercalabash-ios

is there a way to select one target when you have more than one calabash target in an iOS project


i have 2 target setup for calabash in my iOS project. i want to know how i can select one target and run cucumber for that target from the console. when i run, cucumber only runs on the app that was most recently built.


Solution

  • from what i have learnt, both from alannichols and from github, calabash framework starts a server when you run the app on xcode, so having multiple xchemas was a bust. we have gone back to simply swapping out the plist file in the -cal schema when we need to.

    so to sum up- it is impossible to have multiple schemas and run from the command line on demand.