cosval
cosval

Reputation: 1

Is iphone simulator geolocation features working with the Ethernet/Wired network connection only?

I'm trying to develop an iPhone application which uses the geolocation libraries. Is this feasible for the iphone simulator to simulate the GPS functionality without the use of my PC's Wi-Fi infrastructure? Does anyone know if the iphone simulator can spot your location using your IP-address only (so only the Ethernet cable connection is required)?

Thanks in advance.

Upvotes: 0

Views: 541

Answers (4)

Tomasz Stanczak
Tomasz Stanczak

Reputation: 13164

Simulator doesn't have this functionality, but iSimulate has (it's not mine :-( ). It connects the device and simulator per WiFi and sends location events to the application within simulator: real GPS events and a few predefined locations around the world. Pretty cool!

Upvotes: 0

Jordan
Jordan

Reputation: 21770

CoreLocation doesn't work in the simulator, but there are options

http://github.com/futuretap/FTLocationSimulator

Upvotes: 0

David
David

Reputation: 14414

No it won't work using ethernet. Core location appears to only work with WIFI even though at the end is the same router.

Upvotes: 1

onnoweb
onnoweb

Reputation: 3038

You should test that functionality on an actual device. I believe the simulator will always show Cupertino, CA as the location.

Upvotes: 1

Related Questions