Repository navigation
Fix native CocoaPods template pod deployment target floor for Xcode 27 - #4164
Merged
wmathurin merged 1 commit intoSep 1, 2026
Merged
Conversation
…atibility Xcode 27 dropped support for iOS deployment targets below 15.0, causing pod install to fail with "the range of supported deployment target versions is 15.0 to 27.0.x" on any pod whose target was below that threshold. Raise the floor from 9.0 to 15.0 to match Xcode 27's minimum. Addresses W-24028437.
|
||||||||||||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #4164 +/- ##
==========================================
- Coverage 71.35% 67.59% -3.77%
==========================================
Files 254 254
Lines 22916 22916
==========================================
- Hits 16351 15489 -862
- Misses 6565 7427 +862
🚀 New features to boost your workflow:
|
|
||||||||||||||
brandonpage
approved these changes
Sep 1, 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
Fixes Xcode 27 build failures for all native iOS CocoaPods template apps: iOSNativeSwiftTemplate, iOSNativeSwiftEncryptedNotificationTemplate, iOSNativeLoginTemplate, iOSIDPTemplate, MobileSyncExplorerSwift. Also fixes the same failure in the ReactNative repo's
iosTests/ios/Podfile, which loadsmobilesdk_pods.rbfrom the iOS SDK clone.Root cause:
mobile_sdk_post_installinmobilesdk_pods.rbraised any pod with a deployment target below iOS 9 to9.0. Xcode 27 dropped support for deployment targets below 15.0, so pods like SQLCipher and FMDB triggered the error "the range of supported deployment target versions is 15.0 to 27.0.x" during pod install.Fix: Raise the floor from
9.0to15.0(and the comparison threshold from< 9to< 15.0). One-line change.Not addressed here — Hybrid templates (W-24057371): These use a Cordova-generated Podfile that does not call
mobile_sdk_post_install. Fix required in CordovaPlugin repo (tools/postinstall-ios.js).Not addressed here — React Native templates: Fail on Xcode 27 with "Failed frontend command" (Metro bundler / RN build toolchain issue), unrelated to pod deployment targets.
Addresses W-24057370.
Test plan
Tested on Xcode 27.0 (Build 27A5237l) — clean run with all templates:
Also validated on Xcode 26.6: 12/12 passed.