mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Align all the pods to 13.4 (#41050)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41050 This change aligns all the podspecs to 13.4, including 3rd party libraries. This should fix https://github.com/facebook/react-native/issues/39826 ## Changelog [iOS][Changed] - Align all pods to 13.4 Reviewed By: huntie Differential Revision: D50405114 fbshipit-source-id: 2d1b50ed8433e8cdc2214eb17e15be6ea81107a1 # Conflicts: # packages/react-native/scripts/cocoapods/utils.rb
This commit is contained in:
committed by
Alex Hunt
parent
c4c8b4b95a
commit
1e72390fbb
@@ -291,32 +291,13 @@ class ReactNativePodsUtils
|
||||
end
|
||||
|
||||
def self.updateOSDeploymentTarget(installer)
|
||||
pod_to_update = Set.new([
|
||||
"boost",
|
||||
"CocoaAsyncSocket",
|
||||
"Flipper",
|
||||
"Flipper-DoubleConversion",
|
||||
"Flipper-Fmt",
|
||||
"Flipper-Boost-iOSX",
|
||||
"Flipper-Folly",
|
||||
"Flipper-Glog",
|
||||
"Flipper-PeerTalk",
|
||||
"FlipperKit",
|
||||
"fmt",
|
||||
"libevent",
|
||||
"OpenSSL-Universal",
|
||||
"RCT-Folly",
|
||||
"SocketRocket",
|
||||
"YogaKit"
|
||||
])
|
||||
|
||||
installer.target_installation_results.pod_target_installation_results
|
||||
.each do |pod_name, target_installation_result|
|
||||
unless pod_to_update.include?(pod_name)
|
||||
next
|
||||
end
|
||||
target_installation_result.native_target.build_configurations.each do |config|
|
||||
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = Helpers::Constants.min_ios_version_supported
|
||||
old_iphone_deploy_target = config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] ?
|
||||
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] :
|
||||
Helpers::Constants.min_ios_version_supported
|
||||
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_ios_version_supported.to_f, old_iphone_deploy_target.to_f].max.to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user