iOS - Environment
This section guides you through configuring your local environment for Mobile SDK Module
Development for iOS Platform.
If your setup is already complete, feel free to skip ahead. Otherwise, follow the steps
below.
π Prerequisitesβ
To develop Mobile SDK modules for iOS, ensure the following tools are installed:
β Install Xcodeβ
Xcode is the official IDE for iOS development.
- π₯ Download the latest version here:
Apple Developer β Xcode
π Connect GitLab Personal Access Token to Xcodeβ
To allow Xcode to fetch swift packages from code.q2developer.com
, you must configure
Xcode to access repostiory using a Personal Access Token from Gitlab.
Step 1: Generate Gitlab Personal Access Tokenβ
environment setup. :::
Follow GitLabβs guide to create a personal access token:
π Create a GitLab Personal Access Token
Or directly visit:
π code.q2developer.com β Personal Access Token
Step 2: Configure Xcode to Use the Tokenβ
- Open Xcode.
- Go to
Xcode > Settings > Accounts
. - Click the + button and select GitLab (Self-Hosted).
Fill in the following:
- Server: Enter following url as server.
https://code.q2developer.com
- Username: Your GitLab username
π Find your username - Token: Paste the token created in Step 1
Once configured, Xcode will be able to resolve Swift packages hosted on
code.q2developer.com
.