Repository navigation
Prepare release 3.10.309.1 and use the official SwiftPM xcframework by default - #1557
Merged
Merged
Conversation
…onsumption Pin the official xcframework so package consumers need no C++ build, preserve explicit local development, and keep new-release SPM publication and manual vcpkg promotion ready. Files changed: lib/include/public/Version.hpp, Package.swift, .github/workflows/spm-release.yml, tests/apple/test-spm-package.py, tools/apple/README.md Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e76e87ba-aa92-4645-aadd-8154d916da51
Baiju Meswani (baijumeswani)
approved these changes
Nov 5, 2026
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
Prepare SDK release 3.10.309.1 and the corresponding SPM version 3.10.309, using the repository's date-derived version generator.
lib/include/public/Version.hppwithout changing the version policy or any published tag.Package.swiftconsume the official, checksum-pinned xcframework by default, rather than requiring consumers to build the C++ SDK. Pin the latest existing artifact, v3.10.281.1; the forthcoming release artifact and its checksum do not exist yet. Its Swift wrapper sources and committed availability metadata are unchanged from the current source.MATSDK_SPM_USE_LOCAL_XCFRAMEWORK=1. Ignore stale local availability metadata when using the hosted binary.The new source release includes the fixes merged since v3.10.281.1: #1552, #1554, #1555, and #1556.
Validation
git diff --checkswift builddownloaded the official xcframework and built the Swift wrapper successfullyNo test exclusions were added. Swift/Xcode are unavailable locally; the native macOS PR job passed, including the expected exclusion of the publication-only job on a PR event. Native release publication will also validate macOS, iOS Simulator, Mac Catalyst, visionOS Simulator, and a clean external SPM consumer. The remaining PR matrix must pass before merge. This PR does not claim device execution or published-archive validation of the future release.
Release and vcpkg handoff
Follow the manual process used for microsoft/vcpkg#54342. The registry promotion recipe intentionally remains a template: do not pin it to an unpublished tag or invent an archive hash.
v3.10.309.1and publish a non-draft, non-prerelease GitHub Release.Version.hppand the SPM publication of the xcframework plus3.10.309tag..tar.gzand compute its actual SHA512..github/scripts/prepare-vcpkg-release.pywith--source-port tools/registry-ports/cpp-client-telemetry, a separate vcpkg checkout's destination port,--version 3.10.309.1, and the archive SHA512.vcpkg x-add-version cpp-client-telemetry --overwrite-version, commit the version database, and manually open the vcpkg update PR.No release/tag is published and no vcpkg PR is opened by this preparation PR.