Skip to main content

Overview

Follow these steps to update the Encore SDK to the latest version in your Xcode project.

Prerequisites

Using an older installation method? You must be using the authenticated repository URL to receive updates. If your project uses https://github.com/EncoreKit/ios-sdk (without a token), expand the section below to migrate.
  1. In Xcode, go to Your Project → Package Dependencies
  2. Click the Location column for the Encore package
  3. Replace https://github.com/EncoreKit/ios-sdk with your authenticated URL from your Dashboard:
    https://{YOUR_ACCESS_TOKEN}@github.com/EncoreKit/ios-sdk
    
  4. Keep Dependency Rule as “Up to Next Major Version” and click enter to save

Update via Xcode

  1. In Xcode’s left sidebar, expand Package Dependencies
  2. Find and right-click the Encore package
  3. Select Update Package
Alternatively, select File → Packages → Update to Latest Package Versions to update all packages at once.

Verify the Update

After updating, check the package version in Xcode’s Package Dependencies to confirm you’re on the latest release. If you encounter issues after updating, reach out to [email protected].