Yubico / yubikit-ios

Yubico Mobile iOS SDK - YubiKit
Apache License 2.0
198 stars 44 forks source link

Add Swift Package Manager Support #53

Closed mattmaddux closed 3 years ago

mattmaddux commented 4 years ago

These commits allow YubiKit to be integrated with a project using SPM.

In order for it to build correctly with SPM, the Package.swift needed a single folder where it could find all the header files. So it was necessary to create a new folder with symlinks to all of them (see this thread at the Swift.org forums). These are all in YubiKit/YubiKit/SPMHeaderLinks.

Other than the adding the symlinks, the only other needed additions were a properly configured Package.swift file, a small addition to README.md, and .swiftpm added to .gitignore.