Skip to content

fix: remove MSDK-4831 SPM vendor workaround, point back at remote tags - #217

Draft
islameldesoky95 wants to merge 1 commit into
masterfrom
fix/MSDK-4831-remove-spm-vendor-workaround
Draft

islameldesoky95 wants to merge 1 commit into
masterfrom
fix/MSDK-4831-remove-spm-vendor-workaround

Conversation

@islameldesoky95

Copy link
Copy Markdown
Contributor

Summary

mobile-sdk's MSDK-4831 (corrupted Package.swift Sentry placeholder — invalid semver shipped in the published 2.32.0 SPM artifact, broke swift package resolve for every consumer) and MSDK-4862 (iOS launch crash on Sentry version drift) fixes are merged into mobile-sdk's develop branch (PR #2544).

This removes the temporary vendoring workaround added in 32bc5bf / 012edf4:

  • Deletes ios/usercentrics_sdk/Vendor/usercentrics-spm-sdk and Vendor/usercentrics-spm-ui entirely.
  • Restores Package.swift to the original remote .package(url:) dependencies this plugin used before the workaround.

⚠️ Do not merge yet

This is staged ahead of time and depends on mobile-sdk actually publishing a corrected release (expected 2.32.1, not yet published as of this PR). The version pin in Package.swift is currently set to 2.32.1 as a placeholder — confirm this matches the real published usercentrics-spm-sdk/usercentrics-spm-ui tag (and that swift package resolve succeeds against the real remote repos, not just swift package dump-package locally) before merging.

Test plan

  • swift package dump-package confirms the manifest parses correctly and points at the real remote URLs with an exact version pin.
  • swift package resolve against the actual published tag (blocked until mobile-sdk 2.32.1 ships).
  • Full flutter build ios/example app build once resolvable.

🤖 Generated with Claude Code

mobile-sdk's MSDK-4831 (corrupted Package.swift Sentry placeholder) and
MSDK-4862 (iOS launch crash on Sentry version drift) fixes are merged and
published. The vendored local copies of usercentrics-spm-sdk/-ui
(Vendor/usercentrics-spm-sdk, Vendor/usercentrics-spm-ui — added in 32bc5bf,
012edf4) are no longer needed: restores Package.swift to the original
remote .package(url:) dependencies this plugin used before the workaround,
and deletes the Vendor/ directory entirely.

NOT YET MERGED — holding until the exact published mobile-sdk version
(currently assumed 2.32.1, needs confirmation) is verified real via
`swift package resolve` against the actual remote tags, not just parsed
locally via `swift package dump-package`.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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