Bump fastlane to 2.240.1 in lockfile - #99
Merged
Merged
Conversation
2.236.1 can no longer authenticate against App Store Connect through the Apple ID path. Apple's Olympus app/config endpoint started returning 404, so Spaceship failed with "Service key is empty", surfaced as "Could not receive latest API key from App Store Connect". fastlane#30206 fixes it by reading the key from where Apple keeps it now, shipped in 2.240.0. 2.240.1 also pulls in the cgi gem that Ruby 4 dropped from stdlib, which matters for local runs. CI stays on Ruby 3.3, above the Ruby 3.1 floor that 2.239.0 introduced.
There was a problem hiding this comment.
Review
The lockfile-only update is coherent and scoped. The upstream authentication fix and Ruby 4 cgi dependency are both present in the resolved version, and the project’s Ruby 3.3 CI satisfies the updated dependency graph.
The Apple ID path was not reproducible here; PR CI was still pending during review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bundle exec fastlane matchstarted failing locally against App Store Connect:Root cause
The bare
matchinvocation (no API key path) authenticates via Apple ID login instead of an App Store Connect API key. Apple's Olympusapp/configendpoint, which supplies theauthServiceKeyfor that path, started returning HTTP 404. Spaceship'sitc_service_keyraisedService key is empty, which fastlane wrapped and surfaced as the misleading "Could not receive latest API key" /AppleTimeoutError.This is fastlane/fastlane#30199, fixed by fastlane/fastlane#30206 ("Read the App Store Connect API key from where Apple keeps it now"), released in fastlane 2.240.0. The lockfile was pinned to 2.236.1.
Change
bundle update fastlanebumps 2.236.1 to 2.240.1. OnlyGemfile.lockchanges — noGemfile,BUNDLED WITH, orRUBY VERSIONedits. Transitive gems move along with it (notably rubyzip 2.4.1 to 3.7.0, terminal-table 3.0.2 to 4.0.0, security 0.1.5 to 0.3.0, xcodeproj 1.27.0 to 1.28.1, google-cloud-storage 1.47.0 to 1.62.0, aws-sdk-s3 1.209.0 to 1.232.1).2.240.1 rather than 2.240.0 because it adds the
cgigem, which Ruby 4 removed from stdlib — relevant here since local dev runs Ruby 4.0.5.fastlane 2.239.0 raised the minimum supported Ruby to 3.1.
.github/workflows/release.ymlalready pinsruby-version: "3.3"viaruby/setup-ruby@v1, so CI needs no change.Testing
bundle exec fastlane match --readonly true --api_key_path ./fastlane/api_key.jsonon 2.240.1: exit 0, decrypts the match repo, installs the Apple Distribution certificate (valid through 2027-01-04) and provisioning profile. Also passes on 2.236.1 — API-key auth was never the broken path, only Apple ID auth was.make lint(SwiftFormat): exit 0, 0/23 files need formatting.make generate(Tuist): exit 0.xcodebuild testfails locally with "No signing certificate 'Mac Development' found" — a pre-existing local keychain gap (only the Apple Distribution identity is present), unrelated to this lockfile change. Not run to completion as a result.Summary by cubic
Bumps fastlane from 2.236.1 to 2.240.1 in
Gemfile.lockto restorefastlane matchauthentication against App Store Connect via Apple ID login, which Apple's server-side changes had broken.Dependencies
cgigem, removed from Ruby 4's stdlib (local dev runs Ruby 4).rubyzip,terminal-table,xcodeproj, andaws-sdk-s3.Written for commit 95824c7. Summary will update on new commits.