Skip to main content

Swift Package Manager Integration

Here you will learn how to integrate the Group Link iOS SDK using the Swift Package Manager dependency manager.

Step 1 - Project package list

In your Xcode Project, select the project icon in the project navigator and select your project configuration file on the sidebar.

Step 1.1

Sidebar with the project option

Next, select the Package Dependencies submenu on the topbar and click on the + sign to add a new package to your project.

Step 1.2

Topbar with the Package Dependencies option selected

A new window will appear, in this window you will search for our package with this URL: https://grouplinknetwork@bitbucket.org/group-link-ios/group-link-package.git. Select the Group Link Package and click on the Add Package button, this will fetch the package from our repository and add it to your project.

https://grouplinknetwork@bitbucket.org/group-link-ios/group-link-package.git

Step 2.1

Group Link SDK Package seach page

Be sure to select your project checkbox to add the Group Link Package correctly.

Step 2.2

Confirm popup before adding the Group Link Package

To check if everything went well, see if the package is present in the sidebar and in the package list screen.

Step 3

Package List Screen with the Group Link Package

Next Steps

Now you can check the iOS Required Permissions page to continue the setup.