Example Swift app and CI pipeline showing how to run iOS projects on Semaphore.
Requires:
- Xcode 10.2
- Swift 5
- Uses Fastlane as build automation tool
xcodebuild clean test -project HelloWorld.xcodeproj -scheme HelloWorld -destination "platform=iOS Simulator,OS=12.1,name=iPhone XR"
bundle install --path vendor/gems
bundle exec fastlane ios scan
bundle exec fastlane ios build
The Semaphore pipeline is configured to:
- Run application test
- Build the app with gym (which would generate an
ipa
file signed by your developer certificate)
A commented Semaphore pipeline configuration is located at .semaphore/semaphore.yml
Copyright (c) 2019 Rendered Text
Distributed under the MIT License. See the file LICENSE.