Skip to content

Instantly share code, notes, and snippets.

@drazisil
Forked from lokst/config.yml
Created April 9, 2019 11:15
Show Gist options
  • Save drazisil/40c2d2a5d624543e738a013cca6421d2 to your computer and use it in GitHub Desktop.
Save drazisil/40c2d2a5d624543e738a013cca6421d2 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment