Unofficial Swift Package Manager supported for 2C2P iOS SDK
To install using Swift Package Manager:
a. Add through File -> Swift Packages -> Add Package Dependency... action in Xcode. Use https://github.com/kingpowerclick/2C2P-iOS.git
repository URL and the Version: Up to Next Minor starting with 4.5.1
option.
b. Add this line to dependencies
section of your Package.swift
:
.package(name: "PGW", url: "https://github.com/kingpowerclick/2C2P-iOS.git", .upToNextMinor(from: "4.5.1"))