On this page

iOS SDK installation

There are three ways to install the Survicate Mobile SDK in the iOS applications:

Installing as Swift Package

The recommended installation method.

  1. Once your iOS application project is ready, open it in the Xcode and select your project’s Package Dependencies tab
  2. Copy the Survicate SDK Swift package repository URL https://github.com/Survicate/survicate-ios-sdk into the search field
  3. Under the Dependency Rule, select the version of your preference. Add Swift Package step 1
  4. After the package download completes, select Add Package. Add Swift Package step 2

Survicate SDK should now be listed under Swift Package Dependencies in the Xcode Project Navigator.

Installing using CocoaPods

Define pod in your Podfile and run pod install.

Installing manually

  1. Download and extract the Survicate for iOS
  2. Drag Survicate.framework into your project. Make sure "Copy items if needed" is selected and click Finish.
  3. In the target settings for your app, set the Survicate.framework to “Embed & Sign”. You'll find it in the “Frameworks, Libraries, and Embedded Content” section of the “General” tab.