Skip to content

Instantly share code, notes, and snippets.

@lokst
Last active April 18, 2019 13:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lokst/3985c1d7610afde9f8a75b79a36496ed to your computer and use it in GitHub Desktop.
Save lokst/3985c1d7610afde9f8a75b79a36496ed to your computer and use it in GitHub Desktop.
Sample steps to manually update Xcode to latest 10.2 version (not necessary once the Xcode 10.2 GA version image has been released on CircleCI)
version: 2
jobs:
build:
macos:
xcode: "10.2.0"
steps:
- run:
name: Update Xcode to latest 10.2 version
command: |
# Requires setting the XCODE_INSTALL_USER and XCODE_INSTALL_PASSWORD
# environment variables
# See: https://github.com/xcpretty/xcode-install#usage
xcodebuild -version
sudo gem install xcode-install
xcversion uninstall 10.2
xcversion update
xcversion install 10.2
xcodebuild -version
# Expect this to take at least 20 minutes
no_output_timeout: 60m
workflows:
version: 2
build-and-deploy:
jobs:
- build
@iwasrobbed-ks
Copy link

Looks like a great way to charge customers even more money by using up more machine time instead of enabling us to use proper macOS machine images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment