DyScan
  • DyScan Integration Guide
  • iOS Integration Guide
  • Android Integration Guide
  • React Native Integration Guide
  • Cordova Integration Guide
  • Integrity Verification
  • Migrating from card.io
    • Migrating from card.io (iOS)
    • Migrating from card.io (Android)
  • Integrating with Stripe
    • Integrating with Stripe (iOS)
    • Integrating with Stripe (Android)
  • Alternate Ways to Integrate iOS
    • Integrating with Swift Package Manager
    • Integrating with Carthage
    • Integrating as a Framework
  • Alternate Ways To Integrate Android
    • Manually Importing the Library
    • Using DyScanView
  • MIGRATING FROM 1.0.X TO 1.1.X
    • Migrating from 1.0.x to 1.1.x (iOS)
    • Migrating from 1.0.x to 1.1.x (Android)
    • Migrating from 1.0.x to 1.1.x (React Native)
Powered by GitBook
On this page

Was this helpful?

  1. Alternate Ways to Integrate iOS

Integrating with Swift Package Manager

PreviousIntegrating with Stripe (Android)NextIntegrating with Carthage

Last updated 3 years ago

Was this helpful?

After getting the access token for Dyneti's repo access:

  1. Open your project in Xcode

  2. Click on File -> Add Packages

  3. Paste the distribution repository URL below into the search bar: https://dyscan@github.com/Dyneti/dyscan-ios-distribution.git

  4. When asked for a password for user "dyscan", enter your access token

  5. Click on dyscan-ios-distribution in the list

6. Choose branch dependency rule from the combobox

7. Type master into the field on the right (this will get you the most up-to-date release)

8. Choose your project from the combobox below

9. Click "Add Package"

10. Wait for the fetching process to complete

11. Choose the right package product (DyScan or DyScan/eu)

12. Click "Add Package"

At this point, DyScan should be usable in your project.