Skip to content

Incompatible with Ruby 3.4.5 #391

@abarisain

Description

@abarisain

Troubleshooting

  • I've searched discuss.bitrise.io for possible solutions.
  • Which version of the step is effected? Latest
  • Is the issue reproducible with the latest version? YES
  • Does the issue happen sporadically, or every time? EVERY TIME
  • Is the issue reproducible locally by following our local debug guide? I did not try

Issue description

Note: I understand that this may be an issue in bitrise-io/go-xcode lib but I feel like it's more appropriate to open here so that other people can see it, and this step updates to the latest go-xcode version.

After updating to Xcode 26 RC stack, this step stopped working for us. We're using the "apple-id" login method as we have an enterprise account.

It seems like the Ruby version was updated and Fastlane does not support it fastlane/fastlane#29183

Adding this script before this step works around the issue:

asdf install ruby 3.2.5
asdf global ruby 3.2.5

Bitrise info

Initializing Developer Portal client
$ gem "install" "bundler" "--no-document" "-v" "2.5.6" "--force"
$ asdf "reshim" "ruby"
$ bundle "_2.5.6_" "install" "--jobs" "20" "--retry" "5"
Apple ID client created
Failed to execute Step main logic:
  failed to manage code signing: Developer Portal client login failed: running command failed with error: spaceship command exited with status 1, output: /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/excon-0.112.0/lib/excon/instrumentors/logging_instrumentor.rb:1: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
  You can add logger to your Gemfile or gemspec to silence this warning.
  /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/httpclient-2.8.3/lib/httpclient/auth.rb:11: warning: mutex_m was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0.
  You can add mutex_m to your Gemfile or gemspec to silence this warning.
  /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/highline-2.0.3/lib/highline.rb:17: warning: abbrev was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0.
  You can add abbrev to your Gemfile or gemspec to silence this warning.
  /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require': cannot load such file -- abbrev (LoadError)
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/highline-2.0.3/lib/highline.rb:17:in ''
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/highline-2.0.3/lib/highline/import.rb:10:in ''
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/commander-4.6.0/lib/commander.rb:26:in ''
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/fastlane-2.225.0/fastlane_core/lib/fastlane_core/configuration/commander_generator.rb:1:in ''
  	from /Users/[REDACTED]/.asdf/installs/ruby/3.4.5/lib/ruby/gems/3.4.0/gems/fastlane-2.225.0/fastlane_core/lib/fastlane_core/configuration
  

Steps to reproduce

  1. Use a Xcode 26 RC stack
  2. Use the enterprise distribution method, enable auto signing and use an "apple-id" connection type
  3. It fails

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions