Including ZenKey SDK for iOS

Include the SDK as a CocoaPod

Include the ZenKey SDK in your project as a CocoaPod by adding the following code to your podfile:

    pod 'ZenKeySDK'

Or use Carthage by including the following in your Cartfile:

    github "MyZenKey/sp-sdk-ios"

Add the SDK source manually to your Xcode project

  1. Move the ZenKey SDK source directly to the project directory.
  2. Add ZenKeySDK.xcodeproj to your application's Xcode project.
  3. After adding the project, confirm that your deployment target is greater than or equal to the SDK deployment target (in Xcode: Project > Info Panel).
  4. View your project's "Embedded Binaries" under your target's "General" panel. Add the ZenKeySDK framework. Be sure to select the corresponding framework for the platform you are targeting (the iOS framework for an iOS target).
  5. Build and run the project to ensure that everything is working correctly.

Did this page help you?