Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to macos-14 #580

Closed
wants to merge 7 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions azure-pipelines-ios.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pool:
name: Azure Pipelines
vmImage: 'macOS-13'
vmImage: 'macOS-14'
demands:
- xcode
- msbuild
Expand Down Expand Up @@ -59,13 +59,35 @@ steps:
**/TestSecrets.cs
actionOnMissing: fail
keepToken: true

- task: PowerShell@2
displayName: Select Xcode Version
inputs:
targetType: 'inline'
script: |
echo Mac OS version:
sw_vers -productVersion
echo Installed Xcode versions:
ls /Applications | grep 'Xcode'
echo currently selected xcode:
xcrun xcode-select --print-path
echo selecting latest xcode...
sudo xcode-select -s /Applications/Xcode_16.1.app
xcrun xcode-select --print-path
xcodebuild -version

- bash: |
/bin/bash -c "sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 6_12_7"
xcodeRoot=/Applications/Xcode_12.4.app
xcodeRoot=/Applications/Xcode_15.4.app
/bin/bash -c "echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'${xcodeRoot};sudo xcode-select --switch ${xcodeRoot}/Contents/Developer"
displayName: 'Force SDK and Xcode version'
enabled: false

- bash: |
xcodeRoot=/Applications/Xcode_16.0.app
/bin/bash -c "echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'${xcodeRoot};sudo xcode-select --switch ${xcodeRoot}/Contents/Developer"
displayName: 'Force Xcode version'
enabled: false

- bash: |
URL="https://bmm-api.brunstad.org/AppVersion/iOSVersionCode"
Expand Down
Loading