应用程序中心使用 Azure Pipelines 分发 IOS 应用程序:找不到资源

Ahm*_*ufi 4 azure-devops visual-studio-app-center

我目前正在使用 Azure Pipelines 使用应用程序中心分发应用程序。

构建并创建certificate.p12和provsion配置文件工作正常,但在App Center Distribute任务中我得到了

Starting: App Center
==============================================================================
Task         : App Center distribute
Description  : Distribute app builds to testers and users via Visual Studio App Center
Version      : 3.173.0
Author       : Microsoft Corporation
Help         : https://learn.microsoft.com/azure/devops/pipelines/tasks/deploy/app-center-distribute
==============================================================================
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:2022) Warning: Use Cipheriv for counter mode of aes-256-ctr
##[error]"{\"message\":\"Resource not found: /v0.1/apps/https://appcenter.ms/users/[username]/apps/[appname]/uploads/releases. Correlation ID: bbc...\",\"statusCode\":404,\"code\":\"Not Found\"}"
http response code: 404
Finishing: App Center
Run Code Online (Sandbox Code Playgroud)

YAML AppCenter分发作业

- task: AppCenterDistribute@3
  displayName: 'App Center'
  inputs:
     serverEndpoint: Test
     appSlug: 'https://appcenter.ms/users/[username]/apps/TestApp'
     appFile: '$(build.artifactstagingdirectory)/**/*.ipa'
     #symbolsIncludeParentDirectory: false
     releaseNotesInput: 'test 123'
    #isSilent: false
Run Code Online (Sandbox Code Playgroud)

这是我的连接配置。

在此输入图像描述

Cec*_*SFT 5

您可以尝试编辑appSlugfromhttps://appcenter.ms/users/[username]/apps/TestApp[username]/TestApp

根据以下文档:

https://learn.microsoft.com/en-us/appcenter/distribution/vsts-deploy

在 Azure DevOps 和应用程序中心之间创建连接后,Azure DevOps 需要知道要将签名版本分发到哪个应用程序。您可以通过转到 App Center 上的项目并基于 https://appcenter.ms/users/{username}/apps/{app_identifier}. 例如,应用程序 slug https://appcenter.ms/users/vigimm/apps/SkyTubevigimm/Skytube

在此输入图像描述

另外, App Center Distribute 任务中的参数描述表明:

在此输入图像描述