Installation Guide
A quickstart guide to get started with EdgePulse on iOS
Prerequisites
- Xcode installed on your development machine
- minimal iOS development experience
- An EdgePulse account with an access token
- A project with a minimum deployment target of iOS 16
Add EdgePulse to Your Xcode Project
- Open your project in Xcode.
- Navigate to File > Add Packages
- Paste the following URL into the search bar:
https://github.com/edgepulseio/edgepulse-ios
- Select the package and click Add Package
- Follow the prompts to integrate the package into your project
Set Background Modes and Permissions
- Open your Xcode project and navigate to your target's Info tab.
- Add the following entries under Required background modes:
- Item 0: App registers for location updates
- Set the necessary location permissions by adding the following to the
Info.plist
file:- Privacy - Location Always Usage Description
Allow to track your location in the background
- Privacy - Location When In Use Usage Description
Allow to track your location
- Privacy - Location Always Usage Description
- Add the capability for accessing Wi-Fi information:
- Navigate to your target's Capabilities tab.
- Enable Access Wi-Fi Information.