If a bridging header does not exist within your project, you can add one by following this documentation. If your target project is written in Swift, you need to provide a bridge to the YubiKit library by adding #import to your bridging header. Open Xcode and click "File" -> "Swift Packages" -> "Add Package Dependency." SPM is a dependency manager built into recent versions of Xcode. The YubiKit SDK for iOS is availble Swift Package Manger (SPM). YubiKit SDK is available as a library and can be added to any new or existing iOS Xcode project through SPM, Cocoapods, or manual setup. The YubiKit Demo application shows how the library is linked with a project so it can be used for a side-by-side comparison when adding the library to your own project. The application is implemented in Swift and it shows several examples of how to use YubiKit, including WebAuthn/FIDO2 over the accessory or NFC YubiKeys. The library is provided with a demo application, YubiKitDemo. To get started, you can try the demo as part of this library or start integrating the library into your own application. Read the transitioning document if you already have integrated the previous version of the SDK. In addition, the library can be packed using the build.sh script, which is provided in the root folder of this project. The host application can build the library as a dependency of the application target when used inside a Xcode workspace. Before running the included demo application or integrating YubiKit into your own app, you need an NFC-Enabled YubiKey or a YubiKey 5Ci to test functionality. YubiKit requires a physical key to test its features. The library is provided with a demo application which shows complete examples of how the library can be integrated and demonstrates all the features of this library in an iOS project.Ĭhanges to this library are documented in this Changelog. YubiKit is an iOS library provided by Yubico to interact with YubiKeys on iOS devices.
0 Comments
Leave a Reply. |