Skip to content

chore: [SDK-5280] raise minimum iOS version to 15 - #1749

Open
nan-li wants to merge 1 commit into
5.7-mainfrom
nan/sdk-5280
Open

nan-li wants to merge 1 commit into
5.7-mainfrom
nan/sdk-5280

Conversation

@nan-li

@nan-li nan-li commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Description

One Line Summary

Raise the minimum iOS version from 12 to 15. SDK-5280.

Details

Motivation

Xcode 27 refuses to build anything with a deployment target below iOS 15. That broke this project for local development and broke CocoaPods customers on Xcode 27, because CocoaPods copies the podspec's platform version onto the pod target. Swift Package Manager customers were not affected.

Scope

  • Every target in the SDK project and the example app now builds for iOS 15.
  • Both podspecs and Package.swift declare iOS 15. Apps that target iOS 12 to 14 can no longer use the SDK, so the next release needs at least a minor version bump and a release note.
  • README, migration guide and the bug report template say iOS 15.

Testing

Unit testing

No test changes.

Manual testing

Built the test app on Xcode 27.0 with no command-line override and ran the OSCore tests and the subscription race tests on an iPhone 17 Pro simulator. 187 tests, all passing.

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

@nan-li
nan-li marked this pull request as draft September 18, 2026 16:31
@nan-li
nan-li changed the base branch from main to 5.7-main September 18, 2026 16:43
- Set IPHONEOS_DEPLOYMENT_TARGET to 15.0 on every target in OneSignal.xcodeproj and OneSignalExample.xcodeproj. Xcode 27 rejects anything lower, so the project did not build on it
- Declare iOS 15 in both podspecs and Package.swift. CocoaPods stamps the podspec platform onto the pod target, which is what broke CocoaPods consumers on Xcode 27
- Update the README, the migration guide and the bug report template's iOS version list
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