-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Kevin Morton edited this page Jun 6, 2026
·
2 revisions
- Requirements
- Installation
- Quick Start: Xcode Project
- Quick Start: SPM Package
- Quick Start: Fastlane Lane
- Environment Variables
- CircleCI account with macOS execution environment access
- Xcode project, workspace, or Swift package
- Ruby/Bundler (for Fastlane-based workflows)
-
QLTY_COVERAGE_TOKENset in your CircleCI project or context (obtain from qlty.sh project settings)
Add the orb to your .circleci/config.yml:
version: 2.1
orbs:
ios-orb: kevnm67/ios-orb@3.0.0Use the alias ios-orb to match all examples in this wiki.
The build_and_test_xcode job covers the full lifecycle — optional XcodeGen,
build, test, coverage export, and Qlty upload in a single job:
version: 2.1
orbs:
ios-orb: kevnm67/ios-orb@3.0.0
workflows:
ci:
jobs:
- ios-orb/build_and_test_xcode:
scheme: MyApp
xcode_version: "26.3.0"
destination: "platform=iOS Simulator,name=iPhone 16"
xcodegen: true
xcode_project: MyApp
qlty: true
context: ios_authversion: 2.1
orbs:
ios-orb: kevnm67/ios-orb@3.0.0
workflows:
ci:
jobs:
- ios-orb/build_and_test_spm:
xcode_version: "26.3.0"
qlty: true
context: ios_authFor Fastlane-based pipelines use run_with_setup for setup and test for the
test + coverage phase:
version: 2.1
orbs:
ios-orb: kevnm67/ios-orb@3.0.0
workflows:
pr:
jobs:
- ios-orb/run_with_setup:
name: setup
xcode_version: "26.3.0"
xcode_project: MyApp
scripts:
- ios-orb/install_tools:
tools: xcodegen swiftlint
- ios-orb/xcodegen
- ios-orb/run_with_setup:
name: lint
attach_workspace: true
checkout: false
scripts:
- ios-orb/swiftlint:
strict: true
requires:
- setup
- ios-orb/test:
name: test
xcode_version: "26.3.0"
xcode_project: MyApp
lane: test
result_bundle_path: TestResults.xcresult
coverage_file: coverage.xml
requires:
- setup
context: ios_auth| Variable | Where | Description |
|---|---|---|
QLTY_COVERAGE_TOKEN |
CircleCI context | Qlty project coverage token (required for upload_qlty_coverage) |
MATCH_PASSWORD |
CircleCI context | Fastlane Match encryption password |
FASTLANE_USER |
CircleCI context | Apple ID for App Store Connect |
ios-orb · Orb Registry · Report an Issue · Maintained by @kevnm67
Getting Started
Reference
Guides
Quick Commands
# Check latest published version
circleci orb info kevnm67/ios-orb | grep Latest
# Pack orb source locally
circleci orb pack src/ > orb.yml
# Validate orb
circleci orb validate orb.yml