iOS - Setup
Setting up your development environment correctly is essential to building and testing modules with the Q2 Mobile SDK. This section walks you through the tools, configurations, and initial steps required to begin development.
Use the following pages to get everything installed and configured before you start building modules.
🖥️ Environment Setup
Install the essential tools to begin working with the Q2 Mobile SDK, including:
- Xcode installation and configuration
- GitLab access and token generation
- Cloning repositories and integrating them in Xcode
🧰 Q2 Mobile CLI Setup
Set up and install the Q2 Mobile CLI tool to automate module creation, certification app builds, and release tagging.
- Installation steps
- Common commands
- Managing CLI versions
🧪 DevApp Structure
Configure the Q2 DevApp to load and test your local module in a near-production environment.
- Modifying
settings.json
- Registering your module
- Running with live feature flags and sandbox targets
🧱 Module Structure
Learn how to structure and scaffold a new module using best practices.
- Folder layout
- Swift package structure
- Public and private code organization
- Resource management
This setup process ensures your development workflow is smooth, predictable, and aligned with Q2 Mobile SDK standards.