fix(deps): resolve flipcash2-client-protocol at the 0.7.0 the manifest pins - #786
Merged
Merged
Conversation
…t pins #779 moved `FlipcashAPI/Package.swift` to `exact: "0.7.0"` but left the workspace `Package.resolved` on 0.6.0. Xcode Cloud disables automatic dependency resolution, so it refuses the stale file outright: an out-of-date resolved file was detected at .../Code.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved, which is not allowed when automatic dependency resolution is disabled That is what failed the TestFlight deploy on a7335f1, two minutes in, during Resolve Dependencies. Nothing local caught it: `FLIPCASH_PROTO_LOCAL` drops the contract entries from the resolved file entirely, so every build on the override resolved the path dependency and never read the stale pin. Revision 8a7dc040 is the commit behind the upstream 0.7.0 tag; the `originHash` moves with it because the requirement itself changed.
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.
FlipcashAPI/Package.swifthas pinnedflipcash2-client-protocolatexact: "0.7.0"since #779, but the workspacePackage.resolvedwas still on 0.6.0. Xcode Cloud runs with automatic dependency resolution disabled, so it rejects the stale file instead of re-resolving:That failed the TestFlight deploy on
a7335f1cafter two minutes, in Resolve Dependencies. The last green deploy was58f68a8c— #778, which is the previous round of the same fix.No local build could have caught it.
FLIPCASH_PROTO_LOCALreplaces the contract packages with path dependencies and removes their entries from the resolved file, so every build on the override resolves the local checkout and never reads the pin.8a7dc040f34c8ebf95446ac05fac9366a780ccc9is the commit behind the upstream0.7.0tag.originHashchanges alongside it because the requirement set itself moved.