iOS Cucumber user documents doesn't exist

My team and I just switched to Appium yesterday and are still getting setup. I was able to successfully open our app with an ios.rb and now I’m moving onto Cucumber as our automation suite is already built in Cucumber.

But anyways, I’ve created a small test version using cucumber to just open the application but when I run “cucumber” I keep getting this error

Cucumber User Error

I’ve been following a few dozen tutorials and looking at setups to find my problem but I’m at a loss. Anyone able to give me some support on this?

-Fubarp

I ended up solving it.

I’m unsure what steps I did that solved it but it was directly related with the appium.txt file and evn.rb file not responding properly. I believe I just had the wrong path but still unsure.

My suspicion is that someone had hard-coded “Documents” as the user in either your config file or in env.rb. Once you changed that to a valid user, the problem disappeared. Alternately, you had code that parsed the options incorrectly.