Giter Club home page Giter Club logo

fakegps-ios's Introduction

fakegps

fakegps can be used to spoof location of iOS devices when connected to Xcode. fakegps has been tested on iOS 10 and iOS 11. This can be useful for apps which need you to be at a particular location to access or unlock some features or for any other similar things.

This method works with all the apps simultaneously as the location data for the entire device is spoofed.

To spoof the location, do the following:

  1. Clone/Download the given repo to your PC.
  2. Open the 'fakegps.xcodeproj' file.
  3. Change the bundle identifier as per your choice and sign the app by assigning a team.
  4. Using the Navigator, open 'fakegps.gpx' file and update the values in Line 9, 10 and 19
    i. Enter the latitude and longitude of the location you want to spoof to in Line 9
      eg: <wpt lat="28.637323" lon="77.327680">
    ii. Enter a name to identify the location in Line 10
      eg: <name>Radisson Blu Kaushambi Delhi NCR</name>
    iii. Update the time and date to a few mintes past the current time as the location would be spoofed at the mentioned time.
      Make these changes in Line 19.
      eg: <time>2017-10-15T16:12:00Z</time>
  5. Run the app on your iOS device via Xcode.

Note# If this is your first app installed on the iOS device with that Developer Certificate, you will need to Trust the Profile by going to Settings> General> Device Management> Select your Developer Profile> Trust> Trust.

  1. In Xcode menu, select Debug> Simulate Location> fakegps.
  2. Now at the time mentioned in 'fakegps.gpx' file, the location would be spoofed.

Even if you disconnect the device from your Mac, the location would remain spoofed for some time.

To remove Location spoofing immediately, restart your device after quitting the fakegps app.

If you want to add this to your own project, download the 'fakegps.gpx' file from the repo and add it to your own Xcode Project and follow the above steps to spoof the location. The 'fakegps.gpx' file can be found in fakegps-iOS/fakegps/

fakegps-ios's People

Contributors

atinsinghal97 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.