-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
No Xamarin bundle symlinks in macos-13 image #8045
Comments
Hey @jahmai-ca! |
Duplicate of 7635, tamarin is not yet added to macOS 13 |
@mikhailkoliada #7635 is about nuget, did you mean to reference another issue? |
@jahmai-ca issues are connected to each other. Both require Xamarin for macOS 13. Briefly, in case we find an opportunity to install Xamarin without negative side effects, we will solve both your and the specified by @mikhailkoliada issues. |
@erik-bershel Ok. But you said "if". Isn't this required to be able to build MAUI / net7-ios / net7-android applications? |
Xamarin is still supported until May 2024. Why has the MacOS-13 image had all traces of Mono, Xamarin, MSBuild etc removed from it? |
Not only that but net7-ios and net7-android are supposed to be supported beyond May 2024, unless we missed the memo? |
When is this going to be fixed? https://devblogs.microsoft.com/dotnet/announcing-dotnet-maui-in-dotnet-8-rc-2/ Xamarin officially supports iO17 via XCode15 and also AndroidAPI34 now. See above. So it should be available on the current version build agents. |
The announcement that Xamarin will support iOS 17 and Android 34 is very welcome news. But to be able to continue to use ADO for CI/CD pipelines for Xamarin we would need the macos-13 agents to have Xamarin tooling support since XCode 15 will be a pre-requisite . |
What am I missing? Why is "need the macos-13 agents to have Xamarin tooling support since XCode 15 will be a pre-requisite" a problem? That's the purpose of this discussion is it not? |
Yes exactly, which I was re-enforcing the message that Xamarin supporting iOS 17 and Android API 34 only gets us so far, we can't use exiting CI/CD pipelines without the macos-13 agents being updated to include Xamarin. |
Yes - that is the purpose of this discussion. The Macos-13 agent needs improving to include both XCode15 (if it doesn't already) and Xamarin (as per latest release blog post which includes support for XCode15 / iOS17) But even before this news, Xamarin should never have been removed from the Macos-13 agent. As it was still a supported and viable platform for building things on Macos-13 |
Any timeline when Xamarin SKDs will be included in macOS13 agents? |
Why this is closed without a solution!!! We are still experiencing the same problem. We cannot build our Xamarin forms app with mac-OS13 azure image :( |
@jayanthsagar @ranjithtech you can use macOS-13 image if you install required dependencies during pipeline execution. Example:
Then use |
I tried this today with xamarin ios and it worked on the macos13 agent. Nice 👍 |
Hi @brunonocetti Thx for the update. However, I get this error on script no 3 Script contents: Where is the $(vsForMacDmgUrl) variable defined? Where can I find that URL? |
The path |
FYI - I was able to get my builds working after changing to
|
Added these in my workflow but can't get a build to work with the
|
@damews - That sounds like a nuget issue to me. Xamarin.Forms is not part of Xamarin.iOS or Xamarin.Android. I'd suggest checking your nuget references to Xamarin.Forms and your nuget restore step. |
Adding my frustration to the others: |
Agreed - removing Xamarin so quickly seems foolish and suggests the maintainers are naive about how the SDLC works in real companies. But this workaround does work: Stick the following in a Command Line Script block in your Azure DevOps pipeline:-
It adds a couple minutes to your build time - but this is better than nothing. |
I also added the two lines, just "wrapped" it in a task, to align with the rest of my pipeline
Now the pipeline runs, and artifacts are working. |
I had one step after these that was calling the select-xamarin-sdk-v2.sh script and doing another Xcode setup. After removing this step, it worked beautifully. |
Hi All, I am facing similar error after moving to macos-13 image and I am clueless about how to fix this -
I am seeing following error -
|
Unfortunately the solutions offered with HomeBrew do not work for me because we need Xamarin.iOS SDK 17 since Apple will start rejecting app updates if not built against SDK 17 starting on April 29 but HomeBrew only has Xamarin.iOS SDK 16.4. |
How do we get homebrew to update their repo to the newer version? |
This is how the homebrew works and it looks ery simple. Could we not just download the newer .pkg file and execute it directly? Why do we even need homebrew? |
The Xamarin.iOS does not list the download location for version 17 and looking at the releases, etc... there does not seem to be one. However, I was able to build my Xamarin.iOS solution, targeting SDK 17.2 with the Xamarin.iOS 16.4 version. It seems that the build is using the correct iOS SDK even if the Xamarin SDK is outdated. I am still testing this build and have not submitted yet to Apple so not 100% sure it will work but I'm hopeful. |
https://github.com/xamarin/xamarin-macios/releases/tag/xamarin-ios-16.4.0.23 This is the latest with iOS 17 and Xcode 15 support Indeed this is the same as the homebrew. There is no correlation between xamarin version numbers and those of iOS/Xcode. |
Description
On the
macos-12
(and earlier) images, it was possible to useselect-xamarin-sdk.sh
with a version label to select which Xamarin SDK version to use (see https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md).This doesn't seem to be possible on the
macos-13
image. Not only is there none listed in the docs (https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md), but attempting to use theselect-xamarin-sdk.sh
results in an error.Platforms affected
Runner images affected
Image version and build link
20230801.2
Is it regression?
20230709.1
Expected behavior
The macos-13 docs list Xamarin version bundle symlinks, and using
select-xamarin-sdk.sh
succeeds in the build.Actual behavior
The macos-13 docs do not contain any symlinks and the
select-xamarin-sdk.sh
fails with:Repro steps
Include the following in your YAML:
The text was updated successfully, but these errors were encountered: