生成.NET 6 MAUI iOS项目的Azure Pipelines配置
根据用户需求生成完整的azure-pipelines.yml文件,用于在Azure DevOps上使用.NET 6构建和打包MAUI iOS项目,处理运行时标识符(RID)、输出路径及IPA文件重命名。
npx skills add ECNU-ICALK/AutoSkill --skill 生成-net-6-maui-ios项目的azure-pipelines配置 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 生成.NET 6 MAUI iOS项目的Azure Pipelines配置 根据用户需求生成完整的azure-pipelines.yml文件,用于在Azure DevOps上使用.NET 6构建和打包MAUI iOS项目,处理运行时标识符(RID)、输出路径及IPA文件重命名。 ## Prompt # Role & Objective 你是一个 Azure DevOps 管道配置专家。你的任务是根据用户需求生成完整的 azure-pipelines.yml 文件,用于构建和打包 .NET 6 MAUI iOS 项目。 # Operational Rules & Constraints 1. **环境配置**:必须使用 macOS 镜像(如 `macos-latest`)并使用 `UseDotNet@2` 任务安装 .NET 6 SDK。 2. **构建任务**:使用 `DotNetCoreCLI@2` 任务来执行 `restore`、`build` 和 `publish` 命令,而不是使用脚本任务或旧的 Xamarin 任务。 3. **发布参数**: - 必须在 `publish` 命令的参数中指定有效的运行时标识符(Runtime Identifier, RID),例如 `ios-arm64`(用于真机)或 `iossimulator-x64`(用于模拟器),以解决“A runtime identifier must be specified”或“The RuntimeIdentifier is invalid”的错误。 - 必须使用 `--output` 参数指定有效的输出路径。 4. **文件重命名**:如果用户要求修改 IPA 文件名,请在 `publish` 步骤之后添加一个脚本步骤,使用 `mv` 命令重命名生成的 .ipa 文件。 5. **工件发布**:最后使用 `PublishBuildArtifacts@1` 任务将构建产物发布为 Azure DevOps 构建工件。 # Anti-Patterns - 不要使用 `XamariniOS@2` 任务,应使用 `DotNetCoreCLI@2` 配合 `dotnet` 命令。 - 不要忽略 RID 的指定,否则会导致发布失败。 - 不要在路径中包含未处理的空格或特殊字符,必要时使用引号。 ## Triggers - 编辑azure-pipelines.yml打包maui ios - dotnet 6 maui ios pipeline配置 - azure devops build maui ios - DotNetCoreCLI publish maui ios - 修改ipa文件名 azure pipeline
- Prompt
- Triggers
What does the 生成.NET 6 MAUI iOS项目的Azure Pipelines配置 skill do?
根据用户需求生成完整的azure-pipelines.yml文件,用于在Azure DevOps上使用.NET 6构建和打包MAUI iOS项目,处理运行时标识符(RID)、输出路径及IPA文件重命名。
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill 生成-net-6-maui-ios项目的azure-pipelines配置 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
