Getting started with iOS SDK

All published versions of the Svea App Wallet SDK for iOS are available on the GitHub repository.
This repository enables Swift Package Manager support for the Svea App Wallet SDK for iOS by vending a Manifest file (Package.swift) that links to binary frameworks for the SDKs.

Note

You need to add your maven.svea.com credentials to your systems ~/.netrc in order to consume the xcframework.

You will get the credentials when you have signed an agreement with Svea.

Swift versions

Supports Swift 5.5+

Example .netrc entry

Copy
Copied
machine maven.svea.com
  login myuser
  password mypassword

Adding Package Dependencies to Your App

  1. Open your project in Xcode 13.0 or above
  2. To add a package dependency to your Xcode project, click File > Swift Packages > Add Package Dependency .
  3. In the dialog that appears, enter package repository URL: https://github.com/SveaApps/SveaWallet.swift .
  4. In Version, select Up to Next Major and the default option.
  5. Complete the prompts to select the libraries you want to use in your project.