Updating the SDK for iOS
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, 18.0.0), ensure that your configuration files (Podfile, Cartfile, or Package.swift) reflect this version accordingly.
CocoaPods
To update to the latest version of Luciq, use the following command:
pod update Luciq
If you need to update to a specific version (e.g., 18.0.0), specify it in your Podfile like this:
pod 'Luciq', '18.0.0'
After making the change, run:
pod install
Carthage
To update to the latest version of Luciq, execute:
carthage update
For a specific version, indicate it in your Cartfile as follows:
github "luciqai/luciq-ios-sdk" == 18.0.0
Then, run:
carthage update
Swift Package Manager (SPM)
Updating via Xcode Interface:
- Open your Xcode project.
- In the Project Navigator on the left, select your project.
- Navigate to the Package Dependencies tab under your project settings.
- To update all packages to their latest compatible versions, go to File > Swift Packages > Update to Latest Package Versions.
- To update only Luciq:
- Select the Luciq package from the list of dependencies.
- Click the gear icon next to it.
- Choose Update Package to fetch and use the latest version that meets your version requirements.
Updating via Command Line
To Update to the Latest Compatible Version:
- In your Package.swift, add:
.package(url: "<https://github.com/luciqai/luciq-ios-sdk">, from: "18.0.0")
- Then, run:
swift package update
To Update to a Specific Version (e.g., 18.0.0):
- In your Package.swift, specify:
.package(url: "<https://github.com/luciqai/luciq-ios-sdk">, .exact("18.0.0"))
- Finally, execute:
swift package update
Updated 1 day ago