How to set iOS simulator Geo Location in Ruby

Hi there.

I am trying to set the geolocation in the iOS simulator so that my tests will work. I have this:
opts = {
:latitude => 40.7831,
:longitude => 73.9712
}
$appium_driver.set_location(opts)

It does not generate any errors but no location is actually set. Would be most appreciative if someone could help me.

Sincerely,

Hi danqa, did you figure this out?