CocoaPods Integration
⚠️ Important: Mandatory Migration to Swift Package Manager (SPM)
Due to the official discontinuation of CocoaPods, which will operate in read-only mode, the SDK will no longer receive version updates through CocoaPods after December 2, 2026. The SDK will remain supported through the Swift Package Manager (SPM).
The SDK currently operates in a hybrid compatibility mode (supporting both CocoaPods and SPM), we strongly recommend that you migrate your project to the Swift Package Manager (SPM) immediately to avoid future compilation failures.
This section will guide you through integrating the Group Link SDK for iOS using the CocoaPods dependency manager.
Step 1 - CocoaPods install
First of all, check if you have the CocoaPods framework installed in your macOS, you can check this by running the pod --version command in your terminal.
1pod --version

Terminal screen with the Cocoa Pods version
If CocoaPods is not yet installed in your environment, it must be installed before proceeding. To do so, please refer to the official installation guide.
Step 2 - Initializing the Project with Pod
You must open a terminal page in your project directory to init the CocoaPods framework inside your project, and run the pod init command.
1pod init

Pod init command on the Terminal screen
Step 3 - Adding to the Podfile
Now with your preferred text editor open the Podfile and add the Group Link Pod to your project, inside the target tag.
1pod 'GroupLinkSDK'

GroupLinkSDK inside the Podfile
Step 4 - Installing Pods
Now, run the following command pod install in your terminal to install the Group Link package in your project:
1pod install

Pod install command on Terminal
Open your project with the .xcworkspace file from now on, this will include all the pod packages for your project.

Finder showing the xcworkspace file
To check if the package is in your project, open the Pod project on your project sidebar and check for GroupLinkSDK.
Step 5 - Checking for Group Link Pod

Pod project with the GroupLinkSDK
Next Steps
You can now proceed to the iOS Required Permissions page to continue the configuration process.