Skip to content

feat: add CocoaPods podspec support for all kit tracks#659

Merged
nickolas-dimitrakas merged 7 commits intoworkstation/9.0-Releasefrom
feat/add-cocoapods-support-to-kit-tracks
Mar 10, 2026
Merged

feat: add CocoaPods podspec support for all kit tracks#659
nickolas-dimitrakas merged 7 commits intoworkstation/9.0-Releasefrom
feat/add-cocoapods-support-to-kit-tracks

Conversation

@nickolas-dimitrakas
Copy link
Contributor

@nickolas-dimitrakas nickolas-dimitrakas commented Mar 10, 2026

Background

  • Restores CocoaPods .podspec files for all 28 active kit tracks in the monorepo, each independently installable by track name (e.g. mParticle-Braze-12). Exceptions: Rokt (mParticle-Rokt) and OneTrust (mParticle-OneTrust) retain their existing pod names.

What Has Changed

  • Added 25 new podspecs and updated 3 existing ones (apptentive-6, localytics-6, localytics-7)
  • All podspecs: source set to monorepo URL, monorepo-relative source_files paths, core SDK dependency pinned to ~> 9.0, versions restored from last published mparticle-integrations releases
  • release-draft.yml: added consolidated step to bump s.version across all podspecs on release

Checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have tested this locally.

Additional Notes

  • No updates have been made to push to cocoapods, this process is manual

Reference Issue (For employees only. Ignore if you are an outside contributor)

NO JIRA

Add missing .podspec files for all 25 kit tracks in the monorepo.
Pod names are aligned to kit track naming (e.g. mParticle-Braze-12),
with the Rokt and OneTrust kits as exceptions that retain their
existing pod names (mParticle-Rokt, mParticle-OneTrust).

Also renames the previously migrated Apptentive and Localytics podspecs
from their old generic names to track-aware names (mParticle-Apptentive-6,
mParticle-Localytics-6, mParticle-Localytics-7) and corrects their
source_files paths to match the monorepo Sources/ directory structure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Mar 10, 2026

📦 SDK Size Impact Report

Measures how much the SDK adds to an app's size (with-SDK minus without-SDK).

Metric Target Branch This PR Change
App Bundle Impact 1.66 MB 1.66 MB +N/A
Executable Impact 896 bytes 896 bytes +N/A
XCFramework Size 5.47 MB 5.47 MB +N/A

➡️ SDK size impact change is minimal.

Raw measurements

Target branch (workstation/9.0-Release):

{"baseline_app_size_kb":84,"baseline_executable_size_bytes":75464,"with_sdk_app_size_kb":1788,"with_sdk_executable_size_bytes":76360,"sdk_impact_kb":1704,"sdk_executable_impact_bytes":896,"xcframework_size_kb":5604}

This PR:

{"baseline_app_size_kb":84,"baseline_executable_size_bytes":75464,"with_sdk_app_size_kb":1788,"with_sdk_executable_size_bytes":76360,"sdk_impact_kb":1704,"sdk_executable_impact_bytes":896,"xcframework_size_kb":5604}

nickolas-dimitrakas and others added 6 commits March 10, 2026 12:11
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…sions

- Point all kit podspecs to the mparticle-apple-sdk monorepo instead of
  individual mirror repos
- Remove the "v" prefix from git tags to align with monorepo tag format
- Restore each kit's version to its last published value from
  mparticle-integrations (e.g. braze-12→8.14.1, rokt→8.3.3)
- Source file paths remain relative to each podspec's location and are
  already correct for the monorepo layout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ions on release

- Prefix all source_files and resource_bundles paths with the full
  kits/<partner>/<track>/ path so CocoaPods resolves files correctly
  from the monorepo root (e.g. kits/braze/braze-12/Sources/mParticle-Braze/**/*.{h,m,mm})
- Scope the existing "Update version in all podspecs" step to maxdepth 2
  (main SDK podspecs only) to avoid traversing .build/ caches
- Add dedicated "Update version in kit podspecs" step in release-draft.yml
  that explicitly targets kits/ and excludes .build/ directories

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nickolas-dimitrakas nickolas-dimitrakas merged commit 35c4fc6 into workstation/9.0-Release Mar 10, 2026
79 of 83 checks passed
@nickolas-dimitrakas nickolas-dimitrakas deleted the feat/add-cocoapods-support-to-kit-tracks branch March 10, 2026 20:44
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.

3 participants