microsoft / app-store-vsts-extension

Visual Studio Team Services (VSTS) extension for performing continuous delivery to the App Store store from your automated CI builds
Other
93 stars 53 forks source link

invalid option: --submission_information #263

Closed idelfonsog2 closed 2 years ago

idelfonsog2 commented 2 years ago

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: invalid option: --submission_information

Enter Task Name: AppStoreRelease

Environment

Task Description

- task: AppStoreRelease@1
  inputs:
    serviceEndpoint: 'AppStoreConnectConnection'
    teamId: // for issue purpose
    appSpecificId: // for issue purpose
    releaseTrack: 'TestFlight'
    appIdentifier: // for issue purpose
    appType: 'iOS'
    distributedToExternalTesters: false
    externalTestersGroups: // for issue purpose
    fastlaneArguments: '--submission_information "{\"export_compliance_uses_encryption\": true, \"add_id_info_uses_idfa\": true }" --verbose'

Task logs

INFO [2021-11-23 16:48:06.28]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
invalid option: --submission_information
##[error]Error: The process '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' failed with exit code 1
Finishing: AppStoreRelease

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Error logs

invalid option: --submission_information

idelfonsog2 commented 2 years ago

I'm questioning the format of my inputs, is there a place I can look at the type that the arguments received?

Are those strings, bools, doubles? Are JSON objects escaped for special symbols like '\' ?

anatolybolshakov commented 2 years ago

Hi @idelfonsog2 sorry for the delay - there is no specific escaping for the 'fastlaneArguments' input value as I see - you can check the result fastlane command by running the pipeline in debug mode.