Set current user location in iPhone simulator

Is there a way to set the current user location in iPhone simulator on Xcode 4?, I want the simulator to show a different location other than Cupertino.

-------------Problems Reply------------

Yes, from the simulator's menu choose Debug > Location > Custom Location....

You can add GPX file to get the current location on simulator. Set current user location in iPhone simulator

You can Simulate Location by selecting Product -> Debug -> Simulate Location and select Location option from Xcode tool.

This is shown in following figure:

Set current user location in iPhone simulator

Set current user location in iPhone simulator

Category:iphone Views:0 Time:2011-06-03

Related post

  • Using core location on iphone simulator 2010-08-20

    I am developing an GPS based app. So I was wondering how could I simulate location on iphone simulator? I downloaded an sample app locateMe. This app does not work on simulator. Does simulator not support location api? Any help would be appreciated.

  • Testing current location in Iphone simulator 2010-10-08

    I have integrated the myAnnotationview custiomed api in to my project.And i have added some address on it.I want to test it from iphone simulator.Is it possible?How can i achieve it?Do i need to ON anything in Simulator? Thanks --------------Solution

  • setting current location of iPhone simulator 2011-03-16

    I would like to explain the situation that I am facing. By default iPhone simulator's current location is "loop". I have an application that is being using in south Africa ( for example ). If I test "near me" functionality on simulator. It will show

  • How to see the keychain for iphone simulator 2009-10-28

    I have developed an iPhone application in which I am encrypting and decrypting data using public and private key. I want to see this keys in the Keychain. I got the keychain entry for mac applications under Applications/utilities, but what is the loc

  • iphone simulator deny locating 2010-09-09

    how can i configure the Xcode simulator to NOT localize me. i want to check my locationManagerDidFail Methode. --------------Solutions------------- Will calling the method manually from your app delegate test your functionality well enough? I think t

  • Iphone simulator 4.0 Could not find my current location 2010-11-17

    I installed sdk version 4.0 in mac my friend also installed version 4.0 in his mac.In my iphone simulator 4.0 ,it could find current location.But my friend machine iphone simulator 4.0 had find the current location. What is the problem ? we both conn

  • Getting Again the Message To Allow or Not the User Location into the iPhone Simulator 2010-12-01

    I am testing with iPhone simulator and I want to get the message to allow or not the user location. My problem is that I have clicked once (to test it) the no button with the Do not show this message again checked. How can I get it again? Thanks for

  • iPhone Simulator providing location results 2011-02-20

    I am using iOS SDK 4.2 and followed this tutorial: http://mobileorchard.com/hello-there-a-corelocation-tutorial/, and got some GPS logs happening on the console using both iPhone and iPad. Then I ran it on the simulator to test other features and the

  • iPhone simulator sandbox location in Xcode 4 2011-03-31

    Xcode 4 seems to have changed the deployment location of the application data which previously used to be in: Users/INSERT_YOUR_USER_HERE/Library/Application Support/iPhone Simulator/ Does anybody knows where is it now? Thanks, Raj PS: I am beginning

  • Xcode 4.1 - location prompt in iPhone simulator 2011-07-22

    The app I'm working on uses CLLocationManager, and previously, when the app starts asking for location info in the iPhone simulator, I would get a little popup. Yesterday I installed Xcode 4.1, and now I no longer get the prompt. My app also never ge

  • location updates from iPhone Simulator 2011-07-31

    i am testing my application on XCode 4 using iPhone simulator. i have made program which will take location updates using G.P.S. on my MAC there is no G.P.S only internet working. So how can i check my application is working or not. Thanks ----------

  • iPhone simulator 4.3 with xcode 4 is not showing current location 2011-08-04

    I have xcode 4 and iphone simulator 4.3. i have downloaded sample project from apple developer website which shows current location. So code is absolutely OK.I have mac mini with wifi on. I have tested that project and once it run. but after that des

  • Is it just the iPhone simulator that is restricted to Intel only Mac's? 2008-09-01

    I have read that the iPhone SDK (part of Xcode 3) is restricted to Mac's with the intel chipset. Does this restriction apply to only the simulator part of the SDK or the complete shebang? I have a Powerbook G4 running Leopard and would very much like

  • how to keep the iphone simulator application directory be the same when run it everytime 2008-11-07

    i met a problem with iphone simulator application directory, when i run the application everytime, the name of application directory was changed each of time,can anyone tell me how to keep a static application directory ? --------------Solutions-----

  • Adding images to iPhone Simulator 2009-01-22

    I am trying to use UIImagePickerController with UIImagePickerControllerSourceTypePhotoLibrary, but it says, "No photos". Where does the simulator get the images from? Where should I copy the images so that they are displayed in the simulator? -------

  • How can I install a .ipa file to my iPhone simulator 2009-02-05

    I have an iphone simulator running on my Mac. I have a .ipa file, can you please tell me how can I install it on the simulator? --------------Solutions------------- You can't. If it was downloaded via the iTunes store it was built for a different pro

  • iPhone simulator fails 2009-02-26

    I have a fresh iPhone project. When I "Build and Go": Error from Debugger: Failed to launch simulated application: iPhone Simulator failed to install the application. Why is that?! --------------Solutions------------- You need to remove the folder as

  • Testing CoreLocation on iPhone Simulator 2009-04-29

    UPDATE: As of iOS 5 and Xcode 4.1 is is now possible to test location in the simulator and even define routes. See http://developer.apple.com for more details. Legacy Question Is there anyway to test CoreLocation on the iPhone Simulator? All I requir

  • How can I reset the NSUserDefaults data in the iPhone simulator? 2009-05-22

    I've added NSUserDefault data retrieval to my app, which is pretty nice. But for testing I would like to reset all the data I added to the defaults database, so that everything is in the state when the user launches the app the first time. I tried to

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.166 (s). 11 q(s)