Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fastlane failing with error "Cannot obtain the content provider public id. Please specify a provider short name using the -asc_provider option."

I created an iOS test flight build using Fastlane, and I got this strange error, not sure why because it was working fine yesterday and now without any change in Fastlane configuration it gives me an error while uploading the build to the Apple App store.

errors wordings are as below

[21:50:01]: Transporter transfer failed.
[21:50:01]: 
[21:50:01]: Cannot obtain the content provider public id. Please specify a provider short name using the -asc_provider option.

[21:50:02]: Cannot obtain the content provider public id. Please specify a provider short name using the -asc_provider option.
Return status of iTunes Transporter was 1: Cannot obtain the content provider public id. Please specify a provider short name using the -asc_provider option.
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.

[21:50:02]: Error uploading ipa file: 


[21:50:02]: fastlane finished with errors

[!] Error uploading ipa file:

Refer below logs enter image description here

like image 794
Haresh Ghatala Avatar asked Sep 03 '25 03:09

Haresh Ghatala


1 Answers

For those who are suffering with this on Azure Devops's AppStoreRelease task. Using @user20291554 solution it can be fixed as follows

 - job: ios
    pool:
      vmImage: macOS-latest
    variables:
      DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS: "-asc_provider <your team ID or short name if different>"
    steps:
      ...
      - task: AppStoreRelease@1
        inputs:
      ...
like image 186
Archimedes Trajano Avatar answered Sep 07 '25 21:09

Archimedes Trajano