Conversation
Xcode 27 only accepts macOS 12.0 and up, and the Catalyst floor of 14 maps to macOS 11.0, so every framework target failed to build for Mac Catalyst. Catalyst 15 maps to macOS 12.0 and matches the iOS floor.
nan-li
marked this pull request as ready for review
September 24, 2026 16:15
…or 15 Every config that set IPHONEOS_DEPLOYMENT_TARGET[sdk=macosx*] also sets IPHONEOS_DEPLOYMENT_TARGET = 15.0, so removing the override lets Catalyst follow the iOS target. This also clears the 13.1 override on UnitTestApp. The CI Catalyst host now compiles for ios15.0-macabi to match the frameworks it links.
CocoaPods writes IPHONEOS_DEPLOYMENT_TARGET from s.platform onto the pod target itself, which takes precedence over the conditional in the generated xcconfig, so the 14.0 never applied. Catalyst pod builds already resolved to 15.0 and still do.
18 tasks
fadi-george
approved these changes
Sep 25, 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.
Description
One Line Summary
Raise the SDK's Mac Catalyst deployment target from 14 to 15. SDK-5346.
Details
Motivation
Xcode 27 only accepts macOS deployment targets of 12.0 and up. The Catalyst floor of 14 maps to macOS 11.0, so every framework target fails to build for Mac Catalyst on Xcode 27. Catalyst 15 maps to macOS 12.0 and matches the iOS floor from #1749.
Scope
s.platform, so the override never applied.Testing
Unit testing
No test changes.
Manual testing
Built OneSignalFramework, OneSignalInAppMessages, OneSignalLocation, OneSignalLiveActivities and OneSignalExtension for Mac Catalyst on Xcode 27.0 with no errors. The built frameworks report a Catalyst minimum of 15.0 and a macOS minimum of 12.0. Compiled and ran the CI Catalyst host against them at 15.0 with no warnings. Built a CocoaPods app that uses
OneSignalXCFrameworkfrom this branch for Mac Catalyst on Xcode 27.0, before and after the podspec change. The pod target resolves to Catalyst 15.0 both times and the app builds.Affected code checklist
Checklist
Overview
Testing
Final pass
🤖 Generated with Claude Code