ios - Azure DevOps 问题 : "The pipeline is not valid. 作业 mac_agent:步骤 InstallAppleProvisioningProfile 输入 provProfileSecureFile 引用安全文件

标签 ios azure azure-devops azure-pipelines provisioning-profile

我在 azure 管道中有这个任务:

 - task: InstallAppleProvisioningProfile@1
    displayName: 'Install an Apple provisioning profile'
    inputs:
     provisioningProfileLocation: 'sourceRepository'
     provProfileSecureFile: '$(System.ArtifactsDirectory)/ios_artifacts/InHouse_com.xxxx.xxxxx.mobileprovision'

该文件确实存在于该路径中, 但是在执行管道时我收到此错误/警告: enter image description here

当我手动按下按钮时,它会继续,
我怎样才能避免这种情况?

最佳答案

我们在使用资源之前应该先对资源进行授权,我们需要点击授权资源按钮进行授权,然后我们就可以在管道中使用该文件了。

或者打开项目设置->设置->选中选项将非发布管道的作业授权范围限制为当前项目,然后 将作业授权范围限制为引用的 Azure DevOps 存储库。

请引用此doc了解更多详情。

enter image description here

关于ios - Azure DevOps 问题 : "The pipeline is not valid. 作业 mac_agent:步骤 InstallAppleProvisioningProfile 输入 provProfileSecureFile 引用安全文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63813980/

相关文章:

azure - 根据条件动态添加 CORS allowedOrigins Azure Arm 模板

azure - 无法获取 Azure Devops Workitem 布局

ios - Sqlite 总是只返回 1 行

ios - Xib 加载时间较长(>1 秒)。 UIFont 缓存似乎是罪魁祸首

ios - Unity 中的粘性 UITableView 滚动

iOS 收据验证 d2i_X509_bio 返回 NULL

.net - 基于联合声明的身份验证和单点登录

azure - 我可以删除 Azure 中的本地网关吗?

azure - 无法获取 Azure 成本消耗 api 的 Azure 范围

wix - 在 Visual Studio Online 上构建 Wix 结果为 'incorrectly registered scripting engine'