Swift#

Semaphore allows building, testing and releasing Swift, Objective-C and React Native applications with customizable CI/CD workflows.

If you’re new to Semaphore, we recommend reading our guided tour first.

The macOS Xcode 11 is available with a full complement of useful tools and utilities pre-installed. Information on the exact version numbers of macOS, Xcode, fastlane, CocoaPods, and all other tools are below:

Configuring Continuous Integration#

Below is a minimal semaphore.yml which starts an Xcode 11 image and runs xcodebuild:

version: v1.0
name: Semaphore iOS Swift example
agent:
  machine:
    type: a1-standard-4
    os_image: macos-mojave-xcode11
blocks:
  - name: Build
    task:
      jobs:
        - name: Checkout and build
          commands:
            - checkout
            - xcodebuild

Example project#

Semaphore maintains an example project built with Swift and SwiftUI demonstrating how to set build an app and run tests. A full tutorial showing how to configure an iOS project for CI with Semaphore is also available.