Skip to content

chore: [SDK-5871] freeze CocoaPods iOS SDK at 5.8.1 - #2030

Open
fadi-george wants to merge 1 commit into
mainfrom
fadi/sdk-5871
Open

fadi-george wants to merge 1 commit into
mainfrom
fadi/sdk-5871

Conversation

@fadi-george

Copy link
Copy Markdown
Collaborator

Description

One Line Summary

Stop bumping the iOS SDK version in the podspec, so the CocoaPods dependency stays on OneSignalXCFramework 5.8.1.

Details

Motivation

CocoaPods trunk becomes read-only on Dec 2, 2026, so new OneSignalXCFramework versions won't be published there. The release workflow writes each new iOS SDK version into the podspec. That version wouldn't exist on Trunk, so pod install would fail for CocoaPods apps. This is the non-breaking change. Dropping CocoaPods support is a separate, breaking change.

Scope

  • The release workflow reads the current iOS SDK version from Package.swift and no longer updates onesignal_xcframework_version in the podspec or the two OneSignalXCFramework pins in examples/demo-pods/ios/Podfile.
  • "Refresh demo lockfiles" always runs pod install in demo-pods, instead of pod update OneSignalXCFramework.
  • The podspec stays on 5.8.1. CocoaPods apps keep building but get no newer iOS SDK versions. SPM apps keep getting updates.
  • React Native installs native modules through CocoaPods, so this podspec is what every iOS app uses.
  • No public API or runtime changes.

Testing

Manual testing

  • The new version read returns 5.8.1 on main.
  • The podspec passes ruby -c.
  • Locally, vp run setup and pod install in examples/demo-pods succeed and lock OneSignalXCFramework 5.8.1.
  • actionlint reports the same warnings as on main.

Affected code checklist

  • Notifications
    • Display
    • Open
    • Push Processing
    • Confirm Deliveries
  • Outcomes
  • Sessions
  • In-App Messaging
  • REST API requests
  • Public API changes

Checklist

Overview

  • I have filled out all REQUIRED sections above
  • PR does one thing
  • Any Public API changes are explained in the PR details and conform to existing APIs

Testing

  • I have included test coverage for these changes, or explained why they are not needed
  • All automated tests pass, or I explained why that is not possible
  • I have personally tested this on my device, or explained why that is not possible

Final pass

  • Code is as readable as possible.
  • I have reviewed this PR myself, ensuring it meets each checklist item

🤖 Generated with Claude Code

CocoaPods trunk is read-only, so new OneSignalXCFramework versions ship only via SPM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fadi-george
fadi-george requested a review from a team as a code owner December 1, 2026 21:53
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.

1 participant