Getting Set Up

Approximate time: 2-10 mins

This guide assumes you have an existing app. If not, simply create one in Xcode using the "Single View App" template. And if you're new to iOS development, you might want to take a look at our Reference App .

  1. Sign up for a free TallyGo account to get an SDK Access Token.
  2. Just add this pod to your CocoaPods Podfile: pod 'TallyGoKit'
  3. Then do a pod install
  4. Import the module with import TallyGoKit
  5. Initialize the TallyGoKit with your TallyGo SDK Access Token (sent to you via email, or log in to see it here):
    TallyGo.initialize(withAccessToken: "YOUR_SDK_ACCESS_TOKEN")
  6. Set MGLMapboxMetricsEnabledSettingShownInApp to YES in your app's Info.plist file (for telemetry).
  7. Set the NSLocationAlwaysUsageDescription and/or NSLocationWhenInUseUsageDescription keys in your app's Info.plist file (for location services).
  8. Add UIBackgroundModes with the item location in your app's Info.plist file.
  1. Sign up for a free TallyGo account to get an SDK Access Token.
  2. Download and unzip the TallyGo iOS SDK , and add that to your Frameworks section in Xcode. (We recommend the TallyGoKit-With-Dependencies.zip package for easy installation.)
  3. Initialize the TallyGoKit with your TallyGo SDK Access Token (sent to you via email, or log in to see it here):
    TallyGo.initialize(withAccessToken: "YOUR_SDK_ACCESS_TOKEN")
  4. Set MGLMapboxMetricsEnabledSettingShownInApp to YES in your app's Info.plist file (for telemetry).
  5. Set the NSLocationAlwaysUsageDescription and/or NSLocationWhenInUseUsageDescription keys in your app's Info.plist file (for location services).
  6. Add UIBackgroundModes with the item location in your app's Info.plist file.

You're ready to roll! Next up: Get Navigation in Your App