I'm using calabash-ios for test automation and I'm struggling with passing command line args to my iOS app on startup. I'm no Ruby programmer but looking through the source prompted me to try appending the cmd line args to the APP path. I tried something like this in the calabash-ios console:
start_test_server_in_background({:app => "#{ENV['APP']} -OverrideWebApp test/index.html"})
Where "-OverrideWebApp test/index.html" are the cmd line args I'm trying to pass. Is there some special key or a hook I should use to get the cmd line args passed to my app?