Updating the SDK

You can easily update the Luciq SDK for each platform by following the instructions outlined below. If you wish to update to a specific version (for example, 19.6.0), ensure that your configuration files (Package.swift,Cartfile or Podfile) reflect this version accordingly.

Swift Package Manager (SPM)

Updating via Xcode Interface:

  1. Open your project in Xcode.

  2. In the Project Navigator, scroll to the Package Dependencies group at the bottom and expand it.

  3. Right-click luciqUpdate Package.

Updating via Command Line

To Update to the Latest Compatible Version:

  1. In your Package.swift, add:

.package(url: "https://github.com/luciqai/luciq-ios-sdk", from: "19.6.0")
  1. Then, run:

swift package update

To Update to a Specific Version (e.g., 19.6.0):

  1. In your Package.swift, specify:

.package(url: "https://github.com/luciqai/luciq-ios-sdk", .exact("19.6.0"))
  1. Finally, execute:


CocoaPods

To update to the latest version of Luciq, use the following command:

If you need to update to a specific version (e.g., 19.6.0), specify it in your Podfile like this:

After making the change, run:


Carthage

To update to the latest version of Luciq, execute:

For a specific version, indicate it in your Cartfile as follows:

Then, run:

Last updated