diff --git a/react-native-update.podspec b/react-native-update.podspec index f7f0a3ad..76037a2a 100644 --- a/react-native-update.podspec +++ b/react-native-update.podspec @@ -43,7 +43,13 @@ Pod::Spec.new do |s| end # Set platform based on whether it's a valid Expo project and if we can parse its target - final_ios_deployment_target = '11.0' # Default target + # React Native's own minimum (defined by react_native_pods.rb, which the + # Podfile loads before evaluating podspecs). The pod platform version also + # becomes the deployment target of the privacy resource bundle target, + # which React Native's post_install does not raise: Xcode 27 rejects + # anything below 15.0 there, so a hard-coded 11.0 fails the build. + final_ios_deployment_target = + defined?(min_ios_version_supported) ? min_ios_version_supported : '11.0' if valid_expo_project # --- Try to find and parse ExpoModulesCore.podspec only if it's an Expo project ---