Skip to content

fix(api): pin Package.resolved to flipcash2-client-protocol 0.2.0 - #684

Merged
bmc08gt merged 1 commit into
mainfrom
fix/package-resolved-contract-bump
Aug 28, 2026
Merged

fix(api): pin Package.resolved to flipcash2-client-protocol 0.2.0#684
bmc08gt merged 1 commit into
mainfrom
fix/package-resolved-contract-bump

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

#672 moved
FlipcashAPI/Package.swift to exact: "0.2.0" for flipcash2-client-protocol,
but the workspace Package.resolved still pins 0.1.0.

Local builds hide the mismatch — SwiftPM just re-resolves and rewrites the file,
which is why it shows up as a dirty working tree rather than a failure. Xcode
Cloud runs with automatic dependency resolution disabled, so it fails the archive
instead:

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

Deploy Flipcash #512 is the first Xcode Cloud build of main since #672 landed,
and it failed on both ValidationStep and ResolvePackageDependenciesStep with
that error. The builds in between were release-branch builds on commits that
predate the pin.

This commits the resolution the pin already implies — the same file a local
build produces.

#672 moved `FlipcashAPI/Package.swift` to `exact: "0.2.0"` without the
`Package.resolved` that goes with it, so the workspace still pinned 0.1.0.
Local builds hide this — SwiftPM re-resolves and rewrites the file — but Xcode
Cloud runs with automatic dependency resolution disabled and fails the archive:

    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

Deploy Flipcash #512 is the first Xcode Cloud build of main since #672, and it
failed this way. Commit the resolution the pin implies.
@bmc08gt bmc08gt self-assigned this Aug 28, 2026
@bmc08gt
bmc08gt merged commit 4a9c3dc into main Aug 28, 2026
@bmc08gt
bmc08gt deleted the fix/package-resolved-contract-bump branch August 28, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant