Getting started - iOS

Basic steps to start using Woosmap Geofencing SDK for iOS
  1. Install the SDK
  2. Initialization
  3. Tracking

Install the SDK

To use Woosmap Geofencing SDK in your iOS project, import it manually inside your project (we don’t support CocoaPods for now). Woosmap Geofencing SDK iOS SDK is hosted on GitHub. You will need to contact us to download the SDK.

Once the SDK bundles files downloaded, launch Xcode and either open an existing project, or create a new project. If you’re new to iOS, create a Single View Application. Then, simply drag the following bundles into your project (when prompted, select Copy items if needed):

Select your project from the Project Navigator, choose your application’s target, open the Build Phases tab, and within Link Binary with Libraries, add the following frameworks:

To integrate Woosmap Geofencing SDK in your iOS application, you should first of all to be enrolled in Apple Developer Program.


Create, if it’s not already done, a Woosmap Geofencing SDK Private key through the Woosmap Console. Woosmap Create a Private Key

Add your API key to your AppDelegate.swift as follow:


As Woosmap SDK requires access to the location of the device, you will need to request permission to use the location services. Add the corresponding keys to your Info.plist file, to define the string informing the user why you need the location services. Check next topic to see how.

Woosmap Geofencing SDK automatically starts tracking user data by calling Now.shared.startMonitoringInBackground(). Data are stored on the device in a local database and synced when the network connectivity is available.

Please, follow steps described in the Location Tracking section to complete the Woosmap Geofencing SDK integration in your iOS app.

Was this article helpful?
Have more questions? Submit a request