1

With the recent prolific problems with Azure DevOps' macOS-10.15 and macOS-latest agents one of the solutions to get around the problem at least my Expo build was to use the macos-10.14 agent which is all well and good. However, in my Cordova project I am using a plugin that uses UIDatePickerStyleWheels which is resolved by an XCode update to 11.6

I was wondering how do you upgrade XCode within an Azure DevOps pipelines. Especially since the agent is headless I can't just enter a password or access the App Store to download.

Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265

1 Answers1

2

According to your description, you mentioned that you use latest stable XCode (11.6) and it works as expected.

Now the issue with MacOS 10.15 Hosted Agents seems to have been fixed, I am using macOS-10.15 and it works fine. You can try MacOS 10.15 again.

In addition,you can add Xcode task in Azure DevOps pipelines, then select Specify path in the "Xcode version" option list, and then specify the path in the "Xcode developer path" option as: /Applications/Xcode_11.6.app. You need to note that the "SDK" option type iOS 13.6. enter image description here enter image description here

Alina Wang-MSFT
  • 522
  • 3
  • 4