Update the client
It’s recommended to use the Kotlin API client, which is better suited for Android development.
You should keep your API client up to date, as the SLA applies only if your API client is up to date.
Semantic versioning
All the Algolia API clients follow Semantic Versioning.
Latest version
You can check what the latest version of the API client is on the GitHub release page.
Update the API client
With Swift Package Manager
After adding .package(name: "AlgoliaSearchClient", url: "https://github.com/algolia/algoliasearch-client-swift", from: "8.4.0")
to your package dependencies array in Package.swift
, run:
$
swift package update
With CocoaPods
After adding pod 'AlgoliaSearchClient', '~> 8.4'
to your Podfile
, run:
$
pod update
With Carthage
After adding github "algolia/algoliasearch-client-swift" ~> 8.4
to your Cartfile
, run:
$
$
$
carthage update
./Carthage/Checkouts/algoliasearch-client-swift/carthage-prebuild
carthage build