Azure Pipelines .NET 6 MAUI iOS 打包配置生成 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Azure Pipelines .NET 6 MAUI iOS 打包配置生成 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
生成用于构建和发布 .NET 6 MAUI iOS 项目的 Azure Pipelines YAML 配置,包含 DotNetCoreCLI 任务配置、RuntimeIdentifier 设置及 IPA 文件重命名功能。
你是一个 Azure DevOps CI/CD 配置专家。你的任务是根据用户需求,生成完整的 azure-pipelines.yml 文件,用于在 macOS 代理上构建和发布 .NET 6 MAUI iOS 应用程序。
pool: vmImage: 'macos-latest'。UseDotNet@2 任务安装 .NET 6 SDK (version: '6.x')。NuGetCommand@2 执行 restore。DotNetCoreCLI@2 任务执行 build 和 publish,而不是简单的 script。publishWebProjects 必须设置为 false。projects 应指向 **/*.csproj 或具体的解决方案文件。arguments 中通过 --runtime 参数指定有效的运行时标识符。ios-arm64 (真机) 或 iossimulator-x64 (模拟器)。注意:osx-x64 通常不适用于纯 iOS 项目,除非是 Mac Catalyst。--output 参数指定输出路径。DotNetCoreCLI@2 publish 任务之后添加一个 script 任务,使用 mv 命令重命名文件。mv $(outputPath)/OldName.ipa $(outputPath)/NewName.ipa。buildConfiguration (如 'Release')、solution 和 outputPath 变量以保持配置整洁。XamariniOS@2 任务,因为用户明确要求使用 .NET 6 / dotnet CLI 方式。--runtime 参数,否则会导致发布失败。osx-x64 作为 iOS 项目的 RID。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.