Starting with the 3.9.3 release, CleverTap supports installation via Swift Package Manager. Before starting the installation please ensure that you are using Xcode 12 or greater.
- Open your project and navigate to the project's settings. Select the tab named Swift Packages and click on the add button (+) at the bottom left.
- Enter the URL of CleverTap GitHub repository - https://github.com/CleverTap/clevertap-ios-sdk.git and click Next.
- On the next screen, select the preferred SDK version and click Next.
- Click finish and ensure that the CleverTap iOS SDK has been added to the appropriate target.