iOS
Follow these instructions to upgrade your iOS integration.
The Argyle team regularly updates Link SDKs with various benefits including new features, bug fixes, and performance improvements. This page provides guidance on how to easily upgrade your SDK version to get the best Argyle Link experience for your users.
The minimum supported iOS version is iOS 12.
Review the changes in the latest version#
Before you upgrade to a new version of the Link SDK, you should review the Releases page on GitHub. This will help you to understand any changes that you will need to make in your code as the result of an upgrade.
Argyle has released Link 5 — learn more and get the benefits of Link 5 by visiting our Upgrade Guide.
We strongly recommend upgrading the SDK as soon as there is a new version available. Doing so will help you to provide the best Argyle Link experience in your application.
Upgrade to a new SDK version#
Follow these instructions to upgrade an existing project to the most recent version of the Argyle iOS SDK:
Previously installed the Argyle iOS SDK using Swift Package manager#
- Right-click on the
ArgyleLink
package in the Package Dependencies section of Xcode and click on Update Package. This will update Link SDK to the latest version, depending on the selected versioning base. - Make any necessary changes as a result of the upgrade.
- Clean and rebuild your project by selecting Product > Clean and then Product > Build.
Previously installed the Argyle iOS SDK using pod files#
- Run
pod outdated
to see if there is a newer version of the Argyle iOS SDK available. You can also refer to the release notes. - If a newer version of the SDK is found, update your
Podfile
with this new version. See specifying pod versions to learn how to set a specific version in yourPodfile
. - Run
pod update
to update the SDK with the new version. - Make any necessary changes as a result of the upgrade.
- Clean and rebuild your project by selecting Product > Clean and then Product > Build.
Previously installed the Argyle iOS SDK by manually downloading the SDK#
- Download the current newest SDK and replace the old one.
- Make any necessary changes as a result of the upgrade.
- Clean and rebuild your project by selecting Product > Clean and then Product > Build.
To avoid issues and crashes, update your SDK to the latest version before you compile your app. If you manually downloaded your SDK framework locally, make sure that you are using the latest SDK version.
To verify your SDK version, you can read your Podfile.lock
and check the PODS: 'Insert'
value.