Last active
April 18, 2019 13:21
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Hi, @dai-cb
I got this same error message. If we set these Environment variables below, we could run the build.
- XCODE_INSTALL_USER (apple account)
- XCODE_INSTALL_PASSWORD (apple account)
- FASTLANE_SESSION
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
Getting this error:
Is this something I have to do (I have them saved locally), or something CircleCi needs to fix?