We would like to inform all developers building for Apple devices that macOS Catalina (10.15.4) is now available as a CI/CD environment on Semaphore.
The following versions of Xcode are pre-installed:
- 11.2.1 – release notes
- 11.3.1 – release notes
- 11.4.1 – release notes
- 11.5 – release notes
You can select the new macOS image in the Workflow Builder:
And here’s an example how you may use the new image if you prefer handwritten YAML:
# .semaphore/semaphore.yml
version: 1.0
name: CI Pipeline for Apple devices
agent:
machine:
type: a1-standard-4
os_image: macos-xcode11
blocks:
- name: "Unit tests"
task:
jobs:
- name: Tests
commands:
- xcversion select 1.4.1
...
To switch between version simply run: xcversion select <xcode_version>
, for example:
xcversion select 11.4.1
Other important tools available in the new macOS image include:
- Flutter (1.17.1)
- fastlane (2.148.1)
- cocoapods (1.9.1)
- rvm with the default version of Ruby 2.5.1
You can learn more about Semaphore’s macOS Catalina environment in documentation, and what else is new in the changelog.
Learn more about support for CI/CD for macOS and iOS on Semaphore’s website.
As always, if you have any questions or feedback, please contact our support team.
Happy building!