Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describes how to setup an environment to access and use the Mobile Protect SDK for iOS distributed via Swift Package Manager. This document will take you through the steps to integrate SDK into your build system. For other guides, check out Mobile Protect Installation Guides

Step 1: Add Mobile Protect to Xcode

To fetch the Mobile Protect SDK via SPM, an API key is needed. If you haven’t received an API key for Mobile Protect, please contact us.

Step 1: Add Mobile Protect to Xcode

  1. In Xcode, add the dependency to the Mobile Protect SDK through the FileAdd Packages… menu.

  2. Enter the following URL into the search bar on the top right:

    Code Block
    https://spm:{MOBILEPROTECT_REPO_API_KEY}@mobile-protect-repos.securetheorem.com/mobileprotect-ios

    Replacing {MOBILEPROTECT_REPO_API_KEY} with the Mobile Protect API key.

  3. Select your preferred Dependency Rule, and then click on the Add Package button.

  4. Select the Target you wish to add Mobile Protect to, and then click on the Add Package button.

Step 2: Add Mobile Protect Configuration File

...