Installation
Add the OnsideKit framework to your iOS project with Swift Package Manager or a manual framework install.
You can integrate OnsideKit using Swift Package Manager or by adding the framework manually.
These instructions target OnsideKit 3.0.1.
Requirements
iOS 17.4 or later as your deployment target
Xcode 26 or later
Choose a product
OnsideKit is distributed as two separate products. Pick the one that fits your app:
OnsideKit
The full SDK, including Apple Pay. Use this unless you have a specific reason not to.
OnsideKitLite
The same SDK without the PassKit dependency (no Apple Pay), for apps that cannot include PassKit.
Framework installation
Swift Package Manager is Apple's official dependency manager, integrated directly into Xcode.
In Xcode, select your project in the Project Navigator, then open the Package Dependencies tab for the project.

Click the + button to add a new package.
In the search field, paste the SDK's repository URL:
https://github.com/onside-io/OnsideKit-iOSSet the Dependency Rule to Exact Version and enter 3.0.1 to use the version covered by this documentation. Click Add Package.

Choose the product to add to your app's target — OnsideKit (with Apple Pay) or OnsideKitLite — and click Add Package.
The framework now appears in the Project Navigator and is linked to your target.
If you prefer not to use a dependency manager, add the framework manually.
Download the 3.0.1 release’s OnsideKit.xcframework.zip (or OnsideKitLite.xcframework.zip) from the Releases page.
Unzip it to get the
OnsideKit.xcframeworkbundle.In Xcode, select your app's target and open the General tab.
Find Frameworks, Libraries, and Embedded Content and drag the
OnsideKit.xcframeworkinto it.Set Embed & Sign for the framework — this bundles and signs it with your app.

You can now import OnsideKit (or import OnsideKitLite) in your source files.
Next step
Before calling any OnsideKit API you must initialize the SDK and configure your URL scheme. Continue with Initializing the SDK.
Last updated
Was this helpful?