Set iOS simulator Location

Hi All,

I am not able to set simulated iOS device location, I am using Appium version 1.6.4 and java client 4.1.2.
When I run my script I get following exception: "java.lang.Exception: Error creating device : Method has not yet been implemented "

Here is my code:

IOSDriver driver = new IOSDriver(new URL(platformProperties.getString(“IOS_APPIUM_SERVER”)),
Location location = new Location(34.9, 54.95, 2);
driver.setLocation(location);

Any ideas?? Thanks!