Reputation: 6949
I followed the steps to set up Calabash-iOS as specified in their README: https://github.com/calabash/calabash-ios (the fast way). When I run the -cal target by clicking the standard Play button in XCode, everything is working great.
However, when I run the cucumber command from my Terminal, it opens up a blank app with just a white screen and none of the view components. Any ideas on how I would debug this?
Using XCode 5.1.1, Calabash iOS 0.9.168, Simulator 7.1 (4-inch and 4-inch 64-bit)
Upvotes: 0
Views: 208
Reputation: 240
You should delete application from Simulator (check what simulator was used in calabash build) and re-install it again. You can use Xcode for this or just re-run it from terminal. It should work then.
No needs to reinstall calabash or other packages.
Upvotes: 0
Reputation: 86
I was having a similar issue, where I would make changes to the app and when running 'cucumber' it would not pick up my new changes. I believe what help me resolve the issue was to reset the simulator and its contents, exit out of any simulators already running, and make sure I am not running the interactive calabash-ios console. Hopefully this helps, and if I find a better solution I will let you all know!
Upvotes: 0
Reputation: 6949
Still not sure what caused this. I got my co-worker to install Calabash on his machine, and it worked. I deleted my code, cloned it again, re-installed it, and it still had the same problem. I re-downloaded again and put it into a different directory path (another folder), and it works!
Upvotes: 0