-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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-13 image seems to not include required targets for Xamarin.Android builds #8647
Comments
Hello! We have no intention to add Xamarin to OS13 images as it is EOL by May 1st 2024, but you can still install tamarin components from brew in runtime, more is here: #8045 |
This does seem slightly odd that there is such a reluctance to install tooling that Microsoft are officially supporting i.e. Xamarin and XCode 15. Its correct that the product is approaching EOL next year, but the same argument could be made for all sorts of tooling (for example .NET MAUI 6) should we therefore expect it to be Microsoft policy to remove tooling from agents several months in advance of support actually ending? |
Workaround for those who still suffer. Since #8601 is merged and updated image is available for runners it's now possible to install required xamarin components
Android cask is optional - it's just as example |
I will try that tomorrow, thanks. |
Hey there, can i run those commands on a pre build script or something? I cant build Xamarin ios on the MacOS13 image as it fails on Android somehow during the nuget restore |
I'm having the same issue did you manage to get a workaround for this? |
Yes I did it a similar way
Now it installs xamarin-android... FWIW, you can just have the android install as the build scrip will install xamarin-ios later if it is missing. This works for me at least.. |
Description
When attempting to build a Xamarin.Android project using the
macos-13
image, the build immediately fails because an import cannot be found. None of the.csproj
files load due to this issue.Running against
macos-latest
works just fine without any changes.Platforms affected
Runner images affected
Image version and build link
Image: macos-13
Version: 20231018.14
Included Software: https://github.com/actions/runner-images/blob/macos-13/20231018.14/images/macos/macos-13-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20231018.14
Is it regression?
Believe so. Works fine with runner image 20230921.4 (macos-latest)
Expected behavior
Build to execute.
Actual behavior
Build fails due to potentially missing files.
Repro steps
I am using Cake to build the project (sorry, it is not public). I can attempt to provide repro instructions in a public project, if required.
However, changing
runs-on
frommacos-latest
tomacos-13
was the only change to my YAML to have this problem occur.The text was updated successfully, but these errors were encountered: