Pulse FlightRecorder Docs
  • SDK Documentation
    • Pulse Labs FlightRecorder Documentation
      • iOS
        • Overview
        • Install the SDK
        • Get your API Key
        • SDK Configuration
          • Swift + SwiftUI
          • Swift + UIKit with Scenes
          • Swift + UIKit without Scenes
          • Objective-C with Scenes
          • Objective-C without Scenes
        • Create Custom Triggers
          • Capture Recording
          • Show the Introduction Screen
        • Update the SDK
        • Troubleshooting
      • Android
        • Overview
        • Install the SDK
        • Get your API Key
        • SDK Configuration
          • Kotlin
          • Java
        • Create Custom Triggers
          • Capture Recording
          • Show the Introduction Screen
        • Update the SDK
        • Troubleshooting
      • ReactNative
        • Install SDK for ReactNative iOS
        • Install SDK for ReactNative Android
        • Update the SDK
      • Flutter
        • Overview
        • Install the SDK
        • Get your API Key
        • SDK Configuration
        • Create Custom Triggers
          • Capture Recording
          • Show the Introduction Screen
      • In-app Surveys
        • Create Survey
        • Edit Survey
        • Launch Survey
        • Pause Survey
        • Survey Responses
        • Survey Styling
    • ⬅️FlightRecorder Home
Powered by GitBook
On this page
  1. SDK Documentation
  2. Pulse Labs FlightRecorder Documentation
  3. iOS

Install the SDK

PreviousOverviewNextGet your API Key

Last updated 1 year ago

  1. Open the project you wish to install the framework into.

  2. Select the project in the Project Navigator (A). Select your app's main target inside the TARGETS section (B), then click on the General tab (C) to open the general build settings for this target.

  3. Verify that the version in Minimum Deployments is 15.0 or higher. If the version is lower than 15.0, update the minimum deployment to 15.0 or higher. If you wish to continue supporting users on devices running iOS lower than 15.0, contact us at . NB: , and users of these devices will no longer receive security updates from Apple.

  4. In the menu bar, select File -> Add Package Dependencies....

  5. In the Apple Swift Packages pop-up window, input https://github.com/pulselabs-ai/flight-recorder-swift-package into the Search or Enter Package URL search box in the top right corner.

  6. Select an appropriate Dependency Rule. We follow , which means we will add bugfixes to the patch version (x.x.x), new features with no breaking changes to the minor version (x.x.x) and will always increase the major version (x.x.x) for breaking changes. We therefore recommend choosing Up to Next Major Version, to ensure you get all the patches and backwards compatible feature updates.

  7. Select Add Package to install the package.

  8. In the Choose Package Products for flight-recorder-swift-package.git window, select Add Package.

The SDK is now installed. It appears in the Package Dependencies list in the Project Navigator.

You can update the SDK at any time by right-clicking the package and selecting Update Package, or update it along with all your other packages in the menu bar by selecting File -> Packages -> Update to Latest Package Versions.

Remove the SDK by selecting your project in the Project Navigator, selecting the Package Dependencies tab, clicking on the package and clicking the - button.

Read on to learn how to Configure the SDK for your iOS app.

flightrecorder@pulselabs.ai
14.x is now end of life
Semantic Versioning 2.0.0
Selecting the app target
The SDK in the Package Dependencies list