From 3bcd6338a6f41f270eb58a1197f462a3e277dfb5 Mon Sep 17 00:00:00 2001 From: Liudmila Nemkova Date: Tue, 26 Nov 2024 14:02:11 +0100 Subject: [PATCH] Moved CocoaPods after Swift Package Manager --- .../version-3.0/sdk-installation-ios.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/versioned_docs/version-3.0/sdk-installation-ios.md b/versioned_docs/version-3.0/sdk-installation-ios.md index d8789c53..fc07b2ea 100644 --- a/versioned_docs/version-3.0/sdk-installation-ios.md +++ b/versioned_docs/version-3.0/sdk-installation-ios.md @@ -199,6 +199,14 @@ Go through release checklist before releasing your app Before releasing your application, make sure to carefully review the [Release Checklist](release-checklist) thoroughly. This checklist ensures that you've completed all necessary steps and provides criteria for evaluating the success of your integration. ::: +## Install SDKs via Swift Package Manager + +1. In Xcode go to **File** -> **Add Package Dependency...**. Please note the way to add package dependencies can differ in XCode versions. Refer to XCode documentation if necessary. +2. Enter the repository URL `https://github.com/adaptyteam/AdaptySDK-iOS.git` +3. Choose the version, and click the **Add package** button. Xcode will add the package dependency to your project, and you can import it. +4. In the **Choose Package Products** window, click the **Add package** button once again. The package will appear in the **Packages** list. +5. Repeat steps 2-3 for AdaptyUI SDK URL: `https://github.com/adaptyteam/AdaptyUI-iOS.git`. + ## Install SDKs via CocoaPods :::info @@ -222,14 +230,6 @@ CocoaPods is now in maintenance mode, with development officially stopped. We re This creates a `.xcworkspace` file for your app. Use this file for all future development of your application. -## Install SDKs via Swift Package Manager - -1. In Xcode go to **File** -> **Add Package Dependency...**. Please note the way to add package dependencies can differ in XCode versions. Refer to XCode documentation if necessary. -2. Enter the repository URL `https://github.com/adaptyteam/AdaptySDK-iOS.git` -3. Choose the version, and click the **Add package** button. Xcode will add the package dependency to your project, and you can import it. -4. In the **Choose Package Products** window, click the **Add package** button once again. The package will appear in the **Packages** list. -5. Repeat steps 2-3 for AdaptyUI SDK URL: `https://github.com/adaptyteam/AdaptyUI-iOS.git`. - ## Configure Adapty SDK You only need to configure the Adapty SDK once, typically early in your application lifecycle: