Repository navigation
[SDK-873] Stop publishing to CocoaPods trunk - #1100
Open
joaodordio wants to merge 3 commits into
Open
joaodordio wants to merge 3 commits into
joaodordio wants to merge 3 commits into
Conversation
CocoaPods trunk became read-only on December 2, 2026, so 6.7.5 is the last version on trunk. Remove the trunk push and verification from the release workflow and Fastfile, and read the release version from IterableAPI.sdkVersion instead of the podspec. The podspecs stay in the repo, version-checked, so apps can still source the pods from git. Update the README: drop the CocoaPods badge, mark CocoaPods as deprecated with migration steps, and correct the Carthage instructions (repo name and --use-xcframeworks).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1100 +/- ##
==========================================
- Coverage 73.67% 73.63% -0.04%
==========================================
Files 114 114
Lines 10202 10202
==========================================
- Hits 7516 7512 -4
- Misses 2686 2690 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
🎟️ Jira Ticket: SDK-873
📖 Description
CocoaPods trunk became permanently read-only on December 2, 2026 at 17:00 UTC and no longer accepts new versions.
6.7.5is the last version ofIterable-iOS-SDKandIterable-iOS-AppExtensionson trunk. Without this change, the next release would tag and publish to GitHub and then fail at the trunk push step.ios-sdk-release.yml): removed thepush pods to trunkstep, the trunk verification loop, and theCOCOAPODS_TRUNK_TOKENenv.pod_trunk_pushlane andpush_pod_if_missing, and dropped the call fromrelease_sdk.validate-release.yml): the release version is now read fromIterableAPI.sdkVersioninstead ofIterable-iOS-SDK.podspec. Both podspecs are still checked against it.prepare-for-release.ymland linted bypod lib lint, so apps that can't leave CocoaPods yet can source the pods from git (pod 'Iterable-iOS-SDK', :git => ..., :tag => ...). That's whyprepare-for-release.yml,build-and-test.yml, and theclean_and_lintrelease step are unchanged.github "Iterable/iterable-swift-sdk",--use-xcframeworks --no-use-binaries --platform iOS, plus a link to the Xcode 27 workaround in the docs).--no-use-binariesis required because Carthage's default binary download installs onlyIterableAppExtensionsfrom our release assets, notIterableSDK(SDK-885). A Carthage CI job is stacked on this PR in #1101.Changedentry under Unreleased.No SDK source changes. The
#if COCOAPODSresource bundle lookup stays for git-sourced pods.Known gaps, intentionally not in this PR:
bump_release_version(used only by the localrelease_sdklane, not by CI) bumps the podspecs but notIterableAPI.sdkVersion. That predates this PR, but it now conflicts with the new source of truth. Easy follow-up if anyone still uses that lane.pod lib lintand the xcodeproj still target iOS 12. Once CI moves to Xcode 27, lint and builds hit the "deployment target below 15.0" error. That's tracked in SDK-799.🧪 How to test?
validate-release.ymllogic: I ran the step's script locally with GNU grep in four cases. Consistent 6.7.5 passes. A driftedAppExtensionspodspec fails with the expected message. Bumping onlysdkVersionto 6.8.0 reports the CHANGELOG entry and both podspecs. A missingsdkVersionfails fast.actionlinton both workflows: only existing SC2086 info notes on lines this PR doesn't touch.ruby -c fastlane/Fastfileis OK. No references topod_trunk_push,push_pod_if_missing, orCOCOAPODS_TRUNK_TOKENremain.carthage update --use-xcframeworks --platform iOSagainst this branch producesCarthage/Build/IterableSDK.xcframeworkandIterableAppExtensions.xcframeworkon Xcode 27, withXCODE_XCCONFIG_FILEsettingIPHONEOS_DEPLOYMENT_TARGET = 15.0. Without the override, Xcode 27 rejects the iOS 12 target (SDK-799).IPHONEOS_DEPLOYMENT_TARGET=15.0, but the iOS 27 SDK refuses to launchhost-appwithout the UIScene lifecycle. CI on Xcode 16.4 is the signal here, and no Swift sources changed.🧾 Changelog
Added a
Changedentry under[Unreleased]inCHANGELOG.md.📹 Loom recording if applicable
N/A
🐞 Github Issues solved
N/A
📚 Docs PR if applicable
https://github.com/Iterable/iterable-docs/pull/1655
Opened by @joaodordio with Cursor for SDK-873. Related work outside this PR:
Iterable-iOS-SDK6.7.5 from CocoaPods trunk. react-native-sdk#947 moves the next RN release tospm_dependency, and iterable-expo-plugin#78 links the NSE'sIterableAppExtensionsthrough SPM.COCOAPODS_TRUNK_TOKENrepo secret can be deleted after merge (admin action).