Skip to content

Commit c534f02

Browse files
chore: remove stale Carthage and semantic-release artifacts
Carthage is no longer a supported distribution method and semantic-release is no longer used. Remove the Carthage binary manifest, build scripts, semantic-release config, and all documentation references. - Delete Scripts/carthage.sh, Scripts/release.sh, release.config.js, mParticle_Apple_SDK.json - Remove Carthage installation section and kits table column from README.md - Update AGENTS.md to reflect SPM + CocoaPods only distribution - Remove carthage.sh chmod from SwiftExample/README.md - Remove Carthage JSON manifest step from sdk-release-maintenance-branch.yml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c3cf0d1 commit c534f02

File tree

8 files changed

+42
-366
lines changed

8 files changed

+42
-366
lines changed

.github/workflows/sdk-release-maintenance-branch.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,6 @@ jobs:
201201
run: |
202202
./Scripts/update_mapping_versions.sh "${VERSION}"
203203
204-
- name: Update Carthage JSON manifest
205-
run: |
206-
jq --arg version "${VERSION}" \
207-
--arg url "https://github.com/mParticle/mparticle-apple-sdk/releases/download/v${VERSION}/mParticle_Apple_SDK.framework.zip?alt=https://github.com/mParticle/mparticle-apple-sdk/releases/download/v${VERSION}/mParticle_Apple_SDK.xcframework.zip" \
208-
'. + {($version): $url}' mParticle_Apple_SDK.json > /tmp/mParticle_Apple_SDK.json.tmp && \
209-
mv /tmp/mParticle_Apple_SDK.json.tmp mParticle_Apple_SDK.json
210-
211204
- name: Update Package.swift URLs (before building)
212205
run: |
213206
# Update URLs to point to new version (checksums will be updated after building)
@@ -217,7 +210,6 @@ jobs:
217210
- name: Build framework artifacts
218211
run: |
219212
chmod +x ./Scripts/make_artifacts.sh
220-
chmod +x ./Scripts/carthage.sh
221213
chmod +x ./Scripts/xcframework.sh
222214
./Scripts/make_artifacts.sh
223215
@@ -247,7 +239,6 @@ jobs:
247239
mParticle-Apple-SDK.podspec \
248240
mParticle-Apple-SDK/MPConstants.swift \
249241
mParticle-Apple-SDK/MPIConstants.m \
250-
mParticle_Apple_SDK.json \
251242
IntegrationTests/wiremock-recordings/mappings/*.json
252243
253244
git commit -m "chore: (release) ${VERSION}
@@ -259,7 +250,6 @@ jobs:
259250
- mParticle-Apple-SDK.podspec
260251
- mParticle-Apple-SDK/MPConstants.swift
261252
- mParticle-Apple-SDK/MPIConstants.m
262-
- mParticle_Apple_SDK.json
263253
- IntegrationTests/wiremock-recordings/mappings/*.json"
264254
265255
- name: Push release branch
@@ -298,7 +288,6 @@ jobs:
298288
- \`mParticle-Apple-SDK.podspec\`
299289
- \`mParticle-Apple-SDK/MPConstants.swift\`
300290
- \`mParticle-Apple-SDK/MPIConstants.m\`
301-
- \`mParticle_Apple_SDK.json\`
302291
303292
---
304293

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ You are a senior iOS SDK engineer specializing in customer data platform (CDP) S
8181

8282
- mParticle Apple SDK (Rokt fork): a comprehensive customer data platform SDK for iOS and tvOS written in Objective-C and Swift.
8383
- Handles event tracking, user identity management, consent management, commerce events, push notification handling, and integration kit orchestration.
84-
- Distributed via Swift Package Manager, CocoaPods, and Carthage.
84+
- Distributed via Swift Package Manager and CocoaPods.
8585
- Integration kits (like the Rokt kit) plug into this SDK to forward events to third-party services.
8686

8787
## Key paths
@@ -102,7 +102,7 @@ You are a senior iOS SDK engineer specializing in customer data platform (CDP) S
102102
- `IntegrationTests/` — Integration tests (Tuist + WireMock).
103103
- `Example/` — Sample app (11 subdirectories).
104104
- `Scripts/` — Build, release, and utility scripts.
105-
- `release.sh`, `xcframework.sh`, `carthage.sh`, `check_coverage.sh`.
105+
- `xcframework.sh`, `check_coverage.sh`.
106106
- `Package.swift` — SPM manifest (swift-tools-version 5.5).
107107
- `mParticle-Apple-SDK.podspec` — CocoaPods spec (v8.41.1).
108108
- `PrivacyInfo.xcprivacy` — iOS privacy manifest.

README.md

Lines changed: 40 additions & 57 deletions
Large diffs are not rendered by default.

Scripts/carthage.sh

Lines changed: 0 additions & 33 deletions
This file was deleted.

Scripts/release.sh

Lines changed: 0 additions & 85 deletions
This file was deleted.

SwiftExample/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ From the repository root, run:
5252
```bash
5353
# Make the build scripts executable
5454
chmod +x ./Scripts/make_artifacts.sh
55-
chmod +x ./Scripts/carthage.sh
5655
chmod +x ./Scripts/xcframework.sh
5756

5857
# Build the frameworks

0 commit comments

Comments
 (0)