Installing the iOS Pulsate SDK
The Pulsate iOS SDK is the bridge between your customers’ mobile devices and the Pulsate server. It ships as a precompiled PULPulsate.framework and is imported into your app as import PULPulsate.
1. Add the PULPulsate dependency
Section titled “1. Add the PULPulsate dependency”Pulsate distributes the SDK through Swift Package Manager (SPM). From Xcode 11 onwards, you can use Swift Package Manager to add the Pulsate SDK to your project.
- In Xcode, select File → Swift Packages → Add Package Dependency.
- Enter the repository URL:
https://github.com/PulsateHQ/pulsate-ios-sdk.git
- Specify the version: 4.7.2 or later.
- Add the
PULPulsatelibrary to your app target.
Import it anywhere you use Pulsate:
import PULPulsate2. Add the location usage keys
Section titled “2. Add the location usage keys”Pulsate uses CoreLocation for geofencing. Add the following keys to your app’s Info.plist, each with a message explaining to the user why location access is requested:
| Key | Purpose |
|---|---|
NSLocationWhenInUseUsageDescription |
Shown when requesting foreground location |
NSLocationAlwaysAndWhenInUseUsageDescription |
Shown when requesting always-on location |
For example:
We use this to provide the best experience possible inside our store. We also send relevant communications based on your location.
Next steps
Section titled “Next steps”Once the SDK is installed, continue to Running the Pulsate SDK.

