I can't find an image in Azure DevOps support macOS builds with Xcode 13.
Does anyone know how where to find or how to add such an image in Azure DevOps?
I can't find an image in Azure DevOps support macOS builds with Xcode 13.
Does anyone know how where to find or how to add such an image in Azure DevOps?
For Xode 13 and IOS 15 , you can try to use the Microsoft-Hosted Agent: macOS 11.
In the 9/17 update, Xcode13 has been added to macos11.
Refer to the release note: macOS 11 (20210917 update) and Macos 11 agent configuration
According to this article you need to find the latest Mono and XCode version (listed here) and manually set them using
/bin/bash -c "sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 6_12_10"
/bin/bash -c "echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'/Applications/Xcode_13.0.app;sudo xcode-select --switch /Applications/Xcode_13.0.app/Contents/Developer"
Then build using
mono
'/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/msbuild.dll'
/p:Configuration=$(BuildConfiguration)
/p:Platform=iPhone
'<path to project>'