Skip to main content

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.


πŸ” 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​

Make sure note down your personal access token for later use in next step of

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​

  1. Open Xcode.
  2. Go to Xcode > Settings > Accounts.
  3. 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.