You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature? Type: Bug
Enter Task Name: AppStoreRelease@1
Environment
Server - Azure Pipelines
Agent - Hosted agent, provide agent queue name:
Issue Description
Since fastlane was updated to 2.217.0 the task using serviceEndpoint started failing with an authentication error from Apple.
Downgrading to fastlane 2.216.0 fixed the issue. I used the following additional task inputs to downgrade fastlane in the task:
2023-11-20T10:26:05.1471870Z ==============================================================================
2023-11-20T10:26:05.1472070Z Task : Apple App Store Release
2023-11-20T10:26:05.1472180Z Description : Release an app to TestFlight or the Apple App Store
2023-11-20T10:26:05.1472350Z Version : 1.218.0
2023-11-20T10:26:05.1472440Z Author : Microsoft Corporation
2023-11-20T10:26:05.1472560Z Help : [More Information](https://marketplace.visualstudio.com/items?itemName=ms-vsclient.app-store)
2023-11-20T10:26:05.1472760Z ==============================================================================
2023-11-20T10:26:05.7048240Z [command]/usr/local/opt/[email protected]/bin/gem install fastlane
2023-11-20T10:26:31.4488300Z Successfully installed fastlane-2.217.0
2023-11-20T10:26:31.4489540Z Parsing documentation for fastlane-2.217.0
2023-11-20T10:26:31.4490520Z Installing ri documentation for fastlane-2.217.0
2023-11-20T10:26:31.4491040Z Done installing documentation for fastlane after 20 seconds
2023-11-20T10:26:31.4491560Z 1 gem installed
2023-11-20T10:26:31.4872810Z [command]/usr/local/opt/[email protected]/bin/gem update fastlane -i /Users/runner/.gem-cache
2023-11-20T10:26:35.2155630Z Updating installed gems
2023-11-20T10:26:35.2175490Z Nothing to update
2023-11-20T10:26:35.2206570Z Gems already up-to-date: fastlane
2023-11-20T10:26:35.2597480Z [command]/usr/local/lib/ruby/gems/3.0.0/bin/fastlane pilot upload --api_key_path /Users/runner/work/_temp/api_key***.json -i /Users/runner/work/1/a/App/HealthTrain.Applications.App.iOS.ipa -a nl.healthtrain.ht.it --skip_submission true --skip_waiting_for_build_processing true
2023-11-20T10:26:36.5536250Z [10:26:36]: �[33mGet started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile�[0m
2023-11-20T10:26:38.1765870Z [10:26:38]: Sending anonymous analytics information
2023-11-20T10:26:38.1766320Z [10:26:38]: Learn more at https://docs.fastlane.tools/#metrics
2023-11-20T10:26:38.1766660Z [10:26:38]: No personal or sensitive data is sent.
2023-11-20T10:26:38.1767010Z [10:26:38]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
2023-11-20T10:26:38.2620920Z [10:26:38]: Creating authorization token for App Store Connect API
2023-11-20T10:26:39.4198620Z
2023-11-20T10:26:39.4199560Z Looking for related GitHub issues on fastlane/fastlane...
2023-11-20T10:26:39.4199770Z
2023-11-20T10:26:39.7020520Z
2023-11-20T10:26:39.7178720Z [!] The request could not be completed because:
2023-11-20T10:26:39.7180470Z Authentication credentials are missing or invalid. - Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens
2023-11-20T10:26:39.7246460Z ##[error]Error: The process '/usr/local/lib/ruby/gems/3.0.0/bin/fastlane' failed with exit code 1
2023-11-20T10:26:39.7276720Z ##[section]Finishing: Publish to the App Store TestFlight track````
The text was updated successfully, but these errors were encountered:
Hi @mscholtus, I could not reproduce this error when fastlane 2.217.0 is used in the task. Can you confirm these points:
the task never fails when specified inputs are
fastlaneToolsVersion: 'SpecificVersion'
fastlaneToolsSpecificVersion: '2.216.0'
the task always fails when specified inputs are
fastlaneToolsVersion: 'SpecificVersion'
fastlaneToolsSpecificVersion: '2.217.0'
If so, can you enable pipeline debug logs by adding the system.debug: true pipeline variable to your pipeline, and send me the logs (as an archive downloaded from the pipeline run page) for both cases?
Can you send me the pipeline yaml file as well?
Hi Denis, thanks for checking this. We just had the same error on fastlane 2.216.0 so that is not the cause of the issue it seems. I'll close this issue.
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AppStoreRelease@1
Environment
Issue Description
Since fastlane was updated to
2.217.0
the task usingserviceEndpoint
started failing with an authentication error from Apple.Downgrading to fastlane
2.216.0
fixed the issue. I used the following additional task inputs to downgrade fastlane in the task:Error logs
The text was updated successfully, but these errors were encountered: