Important
The COCOAPODS_TRUNK_TOKEN secret in this repository expires after ~3 days. Refresh it before every release.
- Generate a new session token:
Confirm via the email link, then retrieve the token:
pod trunk register developers@mparticle.com 'mParticle Developers' --description='CI release'
grep -A2 'trunk.cocoapods.org' ~/.netrc | grep password | awk '{print $2}'
- Update the
COCOAPODS_TRUNK_TOKENsecret in Settings → Secrets and variables → Actions on this repository.
- Go to Actions → Release – Draft in GitHub
- Select the bump type (
patch,minor, ormajor) and run the workflow frommain
This bumps versions across podspecs, Package.swift, constants files, and CHANGELOG.md, then opens a release PR against main.
Review and merge the PR. On merge, the Release – Publish workflow runs automatically:
- Builds xcframeworks for every kit
- Mirrors each kit subtree to its own repo under
mparticle-integrations/(and RoktSDKPlus toROKT/rokt-sdk-plus-ios) - Creates GitHub releases and tags (used by SPM consumers)
- Publishes the core SDK and all kit podspecs to CocoaPods trunk
Note
The release GitHub App must be installed on ROKT with access to rokt-sdk-plus-ios for that mirror push to succeed (same app credentials as mparticle-integrations mirrors).
Note
The Swift SDK podspec (mParticle-Apple-SDK-Swift) is not yet published automatically — push it manually before the core SDK if required:
pod trunk push mParticle-Apple-SDK-Swift.podspec --allow-warnings- New
v<version>tag exists on the main repo and all kit mirror repos - New version is available on CocoaPods
- SPM resolves the new version