Versions Compared

Key

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

...

  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.

For Mobile Protect Anti Fraud, use the following URL instead:

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

Mobile Protect Anti Fraud includes Mobile Protect, so it isn’t necessary to add both packages.

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

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

That key is NOT SENSITIVE. The key is only used to download the Mobile Protect SDK, but cannot be used to pull any data from the app nor the backend. A different and more secure key is required for pulling data. It is safe to commit in your repository.

...