Skip to main content

Supported package managers

The Cloneable SDK supports Swift Package Manager (SPM).

Add the Cloneable SDK as a dependency

Add the SDK to your Xcode app:

Open package dependencies

In Xcode, open your project and select the Package Dependencies tab. Click +:
Xcode Package Dependencies tab and Add Package button

Add the SDK repository URL

URL: https://github.com/Cloneable-Inc/Cloneable-iOS-SDK/ Select Up to Next Major Version:
Xcode package dependency version rule set to Up to Next Major Version

Add Package

Wait for the approximately 1 GB package to resolve. Then click Add Package:
Xcode Add Package button for the Cloneable SDK

Verify the package dependency

Verify that the SDK appears in Package Dependencies. You can import CloneablePlatform and build the project:
Cloneable iOS SDK listed in Xcode Package Dependencies