-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS App store Release task failed to install/find fastlane using azure pipelines #343
Comments
Hi @vsambasiva550, have you tried to install Fastlane manually using the same gem command as the task?
Could you please share the version of Fastlane that you installed, and a portion of the logs where the task gets stuck? |
Thank you for your response here is the log for fastlane install task ##[debug]/bin/bash arg: --noprofile |
Exactly the same issue here. Fastlane installed manually. Ruby updated to latest version using rbenv. Azure devops agent bale to find Fastlane. Even if the install flag is set and I put a pre command line script in before this action to ensure everything is as it should be in the context in order for it to install fastlane, it just fails with 2025-01-30T17:49:45.1192270Z [command]/usr/bin/gem install fastlane This is pretty important that is addressed given Microsoft decided to deprecate App Centre leaving most people without a means of deploying to IOS if the tool they are supposed to move to doesn't even work. |
Required Information
Getting below error while installing fastlane
/usr/bin/gem install fastlane
ERROR: Error installing fastlane:
The last version of google-cloud-storage (~> 1.31) to support your Ruby & RubyGems was 1.45.0. Try installing it with
gem install google-cloud-storage -v 1.45.0
and then running the current command againgoogle-cloud-storage requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.
Type: iOS App store Release
Enter Task Name: iOS App store Release task failed to install/find fastlane using azure pipelines
list here (V# not needed):
https://github.com/microsoft/app-store-vsts-extension/tree/master/Tasks
Environment
Server - Azure Pipelines or TFS on-premises? TFS on-premises
If using TFS on-premises, provide the version: Azure DevOps server 2022
If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
Agent - Hosted or Private: Private
If using Hosted agent, provide agent queue name:
If using private agent, provide the OS of the machine running the agent and the agent version: macOS Ventura Version 13.3 and a gent version: '2.217.2'
Issue Description
Getting below issues while using
- task: AppStoreRelease@1
inputs:
authType: 'UserAndPass'
username: '$(fastLane.auth.userName)'
password: '$(fastLane.auth.password)'
isTwoFactorAuth: true
appSpecificPassword: '$(fastLane.auth.appPassword)'
fastlaneSession: '$(fastLane.auth.session)'
appIdentifier: '$(identifier.name)'
appType: 'iOS'
ipaPath: '/Users/ghx-mac/agent/_work/1/s/*.ipa'
releaseTrack: 'TestFlight'
shouldSkipWaitingForProcessing: true
appSpecificId: 'XXXX'
Issue 1: Unable to install fastlane
Issue 2: Task never ends (with installFastlane:false)
Fastlane installed by manually in mac agent
Task logs
##[debug]found 11310 paths
##[debug]applying include pattern
##[debug]1 matches
##[debug]1 final results
##[debug]Checking for ruby install...
##[debug]which 'ruby'
##[debug]found: '/usr/bin/ruby'
##[debug]Installing fastlane...
##[debug]which 'gem'
##[debug]found: '/usr/bin/gem'
##[debug]which '/usr/bin/gem'
##[debug]found: '/usr/bin/gem'
##[debug]/usr/bin/gem arg: ["install","fastlane"]
##[debug]exec tool: /usr/bin/gem
##[debug]arguments:
##[debug] install
##[debug] fastlane
/usr/bin/gem install fastlane
ERROR: Error installing fastlane:
The last version of google-cloud-storage (~> 1.31) to support your Ruby & RubyGems was 1.45.0. Try installing it with
gem install google-cloud-storage -v 1.45.0
and then running the current command againgoogle-cloud-storage requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.
##[debug]Exit code 1 received from tool '/usr/bin/gem'
##[debug]STDIO streams have closed for tool '/usr/bin/gem'
##[debug]task result: Failed
##[error]Error: The process '/usr/bin/gem' failed with exit code 1
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]
The text was updated successfully, but these errors were encountered: