RBZ
RBZ

Reputation: 2074

Azure DevOps macOS image with Xcode 13 to build for iOS 15

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?

Upvotes: 1

Views: 3268

Answers (2)

XperiAndri
XperiAndri

Reputation: 1208

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>'

Upvotes: 1

Kevin Lu-MSFT
Kevin Lu-MSFT

Reputation: 35194

For Xode 13 and IOS 15 , you can try to use the Microsoft-Hosted Agent: macOS 11.

enter image description here

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

Upvotes: 1

Related Questions