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
/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 again
google-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
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 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 again
google-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
Hi @vsambasiva550, have you tried to install Fastlane manually using the same gem command as the task? gem install fastlane
also, have you tried to update the local ruby version to 2.7?
Issue 2: Task never ends (with installFastlane:false)
Fastlane installed by manually in mac agent
Could you please share the version of Fastlane that you installed, and a portion of the logs where the task gets stuck?
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: