Skip to content

Commit 8fa1eb8

Browse files
authored
fix: use xcode >= 15.1 to address broken builds on macOS <= 12 (microsoft#219991) (microsoft#220040)
1 parent 5396c3c commit 8fa1eb8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

build/.cachesalt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-05-25T03:29:59.419Z
1+
2024-07-05T08:35:22.799Z

build/azure-pipelines/darwin/product-build-darwin.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ steps:
7878

7979
- script: |
8080
set -e
81+
# Refs https://github.com/microsoft/vscode/issues/219893#issuecomment-2209313109
82+
sudo xcode-select --switch /Applications/Xcode_15.2.app
83+
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))
84+
displayName: Switch to Xcode >= 15.1
85+
86+
- script: |
87+
set -e
88+
c++ --version
8189
python3 -m pip install setuptools
8290
8391
for i in {1..5}; do # try 5 times

0 commit comments

Comments
 (0)