xamarin - Azure Pipelines 构建 Xamarin Forms iOS 目标是较新的 Xamarin 版本?
问题描述
我正在使用 Azure Pipelines 构建我的 Xamarin Forms 应用程序。
我只能针对 Xamarin iOS 14.4 max 吗?
https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xamarin
不能以 Xamarin iOS 14.6 为目标吗?
https://docs.microsoft.com/en-us/xamarin/ios/release-notes/14/14.6
这是我的管道当前的样子:
单声道 + 恢复脚本步骤:
#wget https://dist.nuget.org/win-x86-commandline/v5.10.0/nuget.exe
#ln -s /Library/Frameworks/Mono.framework/Versions/Current/Commands/nuget nuget
# 6.12.0.148 https://www.mono-project.com/download/preview/#download-mac
wget https://download.mono-project.com/archive/6.12.0/macos-10-universal/MonoFramework-MDK-6.12.0.148.macos10.xamarin.universal.pkg
sudo chmod +x MonoFramework-MDK-6.12.0.148.macos10.xamarin.universal.pkg
sudo installer -pkg MonoFramework-MDK-6.12.0.148.macos10.xamarin.universal.pkg -target /
echo "MSBuild restore start"
MSBuild /Users/runner/work/1/s/Cellar/Cellar.iOS/Cellar.iOS.csproj -t:restore
echo "MSBuild restore finish"
解决方案
推荐阅读
- c# - 在 IIS 应用程序池回收或从 localhost 运行网站之前找不到 ASP.NET Core 3.1 MVC 下载文件
- vim - 如何将用户命令添加到 vi/vim 以具有多个条件来搜索内容?
- javascript - 将列表对象转换为数组
- python - 如何删除 tkinter GUI 中的所有元素?
- postgresql - pgAdmin - 为包括所有模式和表的数据库创建脚本?
- python - 碰到左边缘时如何使物体循环回右边缘?
- mysql - MySQL 模拟延迟以减少旧服务器上的冗余项目
- function - 如何执行这个反应查询突变?
- python - pyttsx3 字符串转数值
- python - 如何使用 | 更新 YML 文件 分隔符