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

[macOS] Default Xcode on Monterey image will be set to Xcode 13.3 on April, 4 #5328

Closed
1 of 8 tasks
miketimofeev opened this issue Mar 31, 2022 · 21 comments
Closed
1 of 8 tasks

Comments

@miketimofeev
Copy link
Contributor

miketimofeev commented Mar 31, 2022

Breaking changes

Default Xcode will be changed to 13.3 on macOS 12.3 Monterey. Xamarin bundle will also be changed to the latest one that supports Xcode 13.3

Target date

Update propagation will start on April, 4 and will take 3-4 days.

The motivation for the changes

We would like to provide images with the latest stable updates as default ones.

Possible impact

If you use the default Xcode version and your project is not compatible with Xcode 13.3 your build can be broken.
If your project is not compatible with the latest Xamarin bundle it can be broken.

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • macOS 12
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

Please consider switching Xcode in runtime to the version that you need to build an app.
The following snippet can be used to switch Xcode:

sudo xcode-select -s "/Applications/Xcode_13.2.1.app"

The list of all available Xcode versions can be found in the image documentation

You can also select any Xamarin version by running

XAMARIN_SDK=6_12_7
$VM_ASSETS/select-xamarin-sdk.sh $XAMARIN_SDK

The list of all available Xamarin bundles can be found in the image documentation

@eschwieb
Copy link

eschwieb commented Apr 1, 2022

That should be "macOS 12.3 Monterey" in the first line.

@miketimofeev miketimofeev changed the title [macOS] Default Xcode on Monterey image will be set to Xcode 13.3 on April, 11 [macOS] Default Xcode on Monterey image will be set to Xcode 13.3 on April, 4 Apr 5, 2022
@mrgrauel
Copy link

mrgrauel commented Apr 5, 2022

Is there a problem with the upgrade? All our jobs which should run on macos-12 are queued since yesterday.

Requested labels: macos-12
Job defined at: ...path...
Waiting for a runner to pick up this job...

@miketimofeev
Copy link
Contributor Author

@mrgrauel we're investigating it at the moment

@eseay
Copy link

eseay commented Apr 5, 2022

@mrgrauel we're investigating it at the moment

@mrgrauel Any update here? We're trying to figure out how to proceed since all of our workflows are hard-blocked.

@miketimofeev
Copy link
Contributor Author

@mrgrauel @eseay could you try running new ones? The issue should be fixed

@eseay
Copy link

eseay commented Apr 5, 2022

@miketimofeev Looks like we're back online. Thanks! Will keep you posted if things change.

@mrgrauel
Copy link

mrgrauel commented Apr 6, 2022

@miketimofeev looks good 👍 Thank you

@james-barker-sedgwick
Copy link

james-barker-sedgwick commented Apr 6, 2022

This issue still occurs for the project I am working on.

Error

##[warning]An image label with the label macOS-12 does not exist.
,##[error]The remote provider was unable to process the request.
Pool: [Azure Pipelines](https://dev.azure.com/***/***/_settings/agentqueues?poolId=&queueId=***)
Image: macOS-12
Started: 2022-04-06 at 3:33 PM CDT

Pipline YAML

- job: iOS
  pool:
      vmImage: 'macOS-12'

@niehusstaab
Copy link

Pipline YAML

- job: iOS
  pool:
      vmImage: 'macOS-12'

I could be wrong, but I think you've got a typo: should be macos-12 not macOS-12

@james-barker-sedgwick
Copy link

james-barker-sedgwick commented Apr 6, 2022

We tried that as well. Same issue.

@miketimofeev
Copy link
Contributor Author

@james-barker-sedgwick Azure DevOps is not provisioned with macOS-12 yet.

@foxsin10
Copy link

foxsin10 commented Apr 8, 2022

Any update? 5338 merged, but action still will be queued when running on macos-12.

@miketimofeev
Copy link
Contributor Author

@foxsin10 have you submitted the access request?

@foxsin10
Copy link

foxsin10 commented Apr 8, 2022

@miketimofeev thanks for responding.
Our GitHub Action will be queued, if set the runs-on to macos-12 as @mrgrauel mentioned.
As for the access request, if i need to submit an access request to use macos-12, could you tell me how, thanks.

@miketimofeev
Copy link
Contributor Author

@foxsin10 Please complete this form In order to request access to the macOS 12 private beta. Once your request has been reviewed, we'll send an email confirming access has been provided with instructions for how to utilize the image in your workflows.

@miketimofeev
Copy link
Contributor Author

The changes are now deployed

@bnidevs
Copy link

bnidevs commented Apr 8, 2022

@miketimofeev what's the turnaround time on filling out the form? just curious, thanks.

@jonas-simkus-mw
Copy link

jonas-simkus-mw commented Apr 12, 2022

Any reason why macos-12 not mentioned in here https://github.com/actions/virtual-environments ?
Maybe it's not supported yet?
We had massive code changes, and all was done on Xcode 13.3, which seems to only be available on macos-12 env. And we can't revert to Xcode 13.2.x because it's very buggy and produces issues in production.
And the reason Xcode 13.3 builds can not be so easily reverted to any earlier versions seems to be something with

Resolve Package Graph
Package.resolved file is corrupted or malformed; 
fix or delete the file to continue: unsupported schema version 2 
xcodebuild: error: Could not resolve package dependencies: ...

This situation makes us hit a brick wall..

@miketimofeev
Copy link
Contributor Author

@bnidevs we onboard users weekly.
@jonas-simkus-mw we do not mention the image until it is in private preview.

@bnidevs
Copy link

bnidevs commented Apr 13, 2022

thank you @miketimofeev

@mattiacantalu
Copy link

@bnidevs we onboard users weekly. @jonas-simkus-mw we do not mention the image until it is in private preview.

Do you have an ETA for the public release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

11 participants