In the docs provided here - https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-xamarin-applications#building-xamarinios-apps
The Xamain SDK is installed in the VM is done via this command
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=14.10
and this is run in the macos-latest
VM.
How can I do the same thing in the windows-latest
VM for both Android and iOS Xamarin Apps? If someone tells me how, I'll send a PR to update that doc too.
Thanks.
You simply can't unless you also connect that build agent to a macOS machine with all the tools necessary.
Instead, I suggest you use the macOS-11 agents and build your iOS Apps using those. Just like the documentation you link to suggests.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.