Reputation: 30885
i have this task in azure pipeline :
- task: InstallAppleProvisioningProfile@1
displayName: 'Install an Apple provisioning profile'
inputs:
provisioningProfileLocation: 'sourceRepository'
provProfileSecureFile: '$(System.ArtifactsDirectory)/ios_artifacts/InHouse_com.xxxx.xxxxx.mobileprovision'
the file do exist in this path, but when executing the pipeline I'm getting this error/warning :
when i manually press the button its continue,
how can I avoid this?
Upvotes: 1
Views: 5113
Reputation: 8278
We should authorize the resource before we use it, we need click the button Authorize resources to authorize, then we can use the file in the pipeline.
Or open project settings->Settings->check the option Limit job authorization scope to current project for non-release pipelines and Limit job authorization scope to referenced Azure DevOps repositories.
Please refer this doc for more details.
Upvotes: 1