chore: [SDK-5280] raise minimum iOS version to 15 - #26
Merged
Merged
Conversation
Xcode 27 rejects deployment targets below iOS 15 and the OneSignal iOS SDK that consumes this framework is moving to a 15 minimum. All three iOS slices now carry a 15.0 minimum, which the linker records as LC_BUILD_VERSION, so the verification task expects that load command for the device and x86_64 simulator slices instead of LC_VERSION_MIN_IPHONEOS. Catalyst stays at 14.
fadi-george
approved these changes
Sep 21, 2026
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
Raise the iOS minimum of the packaged XCFramework from 11 to 15. The Kotlin/Native minimum-version overrides, the Mach-O verification expectations,
OneSignalKMP.podspec,Package.swiftand the README all move to 15.0. Catalyst stays at 14.Motivation
Xcode 27 rejects deployment targets below iOS 15 and the OneSignal iOS SDK that consumes this framework is moving to a 15 minimum (OneSignal/OneSignal-iOS-SDK#1749). At 15.0 the linker records the minimum as
LC_BUILD_VERSIONon every slice, so the device and x86_64 simulator expectations switch fromLC_VERSION_MIN_IPHONEOSto platform and minos checks like the arm64 simulator slice already used.Testing
./gradlew :kmp:verifyOneSignalKMPXCFrameworkpasses locally on Xcode 27: every iOS slice now carriesLC_BUILD_VERSIONwith minos 15.0 and the Catalyst slices stay at 14.0.Checklist
🤖 Generated with Claude Code