[英]How to set-up Github Actions for Xamarin apps in windows-latest VM?
In the docs provided here - https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-xamarin-applications#building-xamarinios-apps在此处提供的文档中 - 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 Xamain SDK 通过此命令安装在 VM 中
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=14.10
and this is run in the macos-latest
VM.这是在macos-latest
VM 中运行的。
How can I do the same thing in the windows-latest
VM for both Android and iOS Xamarin Apps?如何在windows-latest
VM 中为 Android 和 iOS Xamarin 应用程序执行相同的操作? If someone tells me how, I'll send a PR to update that doc too.如果有人告诉我怎么做,我也会发送 PR 来更新该文档。
Thanks.谢谢。
You simply can't unless you also connect that build agent to a macOS machine with all the tools necessary.除非您还使用所有必要的工具将该构建代理连接到 macOS 机器,否则您根本做不到。
Instead, I suggest you use the macOS-11 agents and build your iOS Apps using those.相反,我建议您使用 macOS-11 代理并使用它们构建您的 iOS 应用程序。 Just like the documentation you link to suggests.就像您链接到的文档所建议的那样。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.