Open Abrissirba opened 2 years ago
Hi @Abrissirba sorry for the delay - could you please check the difference between last successful/failed runs? Was there task version change, or different fastlane version? This looks like some possible issue on a fastlane side.
Hi @Abrissirba do you have any updates?
I have the same issue, before it worked now it keeps hanging. how can I resolve this problem?
Sorry for late reply. One reason might be that for some reason I have multiple fastlane versions installed in different locations on the computer. The devops task choose another version, fastlane-2.139.0, than what it used if I run it from the terminal on the computer manually, fastlane-2.205.1. Can I tell the devops task where fastlane is installed somehow?
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Bug
Enter Task Name: app-store-release
Environment
Server - Azure Release Pipeline
Agent - Hosted or Private:
Issue Description
Trying to release a build to app store in a release task in Azure DevOps. It has worked before but now it has stopped working. It gets stuck on the step. I have waited for hours with no updates in the log.
2021-12-14T09:01:35.4833990Z [10:01:35]: Going to upload updated app to App Store Connect 2021-12-14T09:01:35.4835730Z [10:01:35]: This might take a few minutes. Please don't interrupt the script.
When I copy the command from the release pipeline log and run it in a terminal on the mac, it works as expected and the upload takes not more than a couple of minutes max. One difference we experience is that the locale is not picked up when the pipeline is running resulting in the following warning when running from devops WARNING: fastlane requires your locale to be set to UTF-8. To learn more go to https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables
I have not been able to find why the locale is not picked up yet. But even though this would be the problem, I would expect the task to give some kind of error instead of just waiting.
Task logs
2021-12-14T09:00:59.7586450Z ##[section]Starting: Publish to the App Store TestFlight track 2021-12-14T09:00:59.7603740Z ============================================================================== 2021-12-14T09:00:59.7604090Z Task : Apple App Store Release 2021-12-14T09:00:59.7604430Z Description : Release an app to TestFlight or the Apple App Store 2021-12-14T09:00:59.7605060Z Version : 1.189.0 2021-12-14T09:00:59.7605360Z Author : Microsoft Corporation 2021-12-14T09:00:59.7606750Z Help : More Information 2021-12-14T09:00:59.7607160Z ============================================================================== 2021-12-14T09:00:59.9598620Z [command]/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/bin/fastlane pilot upload -u -i /Users/solutionxperts/Agents/vsts-agent-osx-x64-2.160.1/_work/r2/a/_Stångåstaden-IOS/drop/stangastaden-prod.ipa -q -r -a 2021-12-14T09:01:02.1966880Z [10:01:02]: [33mGet started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile[0m 2021-12-14T09:01:02.2031280Z [10:01:02]: [31mWARNING: fastlane requires your locale to be set to UTF-8. To learn more go to https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables[0m 2021-12-14T09:01:04.3625470Z [10:01:04]: Login to App Store Connect (***) 2021-12-14T09:01:07.6942400Z [10:01:07]: Login successful 2021-12-14T09:01:25.7886310Z [10:01:25]: Ready to upload new build to TestFlight (App: 1407673251)... 2021-12-14T09:01:25.9764320Z [10:01:25]: Fetching password for transporter from environment variable named
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD
2021-12-14T09:01:35.2612940Z [10:01:35]: iTunes Transporter successfully finished its job 2021-12-14T09:01:35.4740140Z [10:01:35]: Fetching password for transporter from environment variable namedFASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD
2021-12-14T09:01:35.4833990Z [10:01:35]: Going to upload updated app to App Store Connect 2021-12-14T09:01:35.4835730Z [10:01:35]: This might take a few minutes. Please don't interrupt the script.