Skip to content

Commit c852955

Browse files
cipolleschifacebook-github-bot
authored andcommitted
Align all the pods to 13.4 (#41050)
Summary: Pull Request resolved: #41050 This change aligns all the podspecs to 13.4, including 3rd party libraries. This should fix #39826 ## Changelog [iOS][Changed] - Align all pods to 13.4 Reviewed By: huntie Differential Revision: D50405114 fbshipit-source-id: 2d1b50ed8433e8cdc2214eb17e15be6ea81107a1
1 parent 805f74f commit c852955

File tree

1 file changed

+4
-15
lines changed
  • packages/react-native/scripts/cocoapods

1 file changed

+4
-15
lines changed

packages/react-native/scripts/cocoapods/utils.rb

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -265,24 +265,13 @@ def self.update_search_paths(installer)
265265
end
266266

267267
def self.updateOSDeploymentTarget(installer)
268-
pod_to_update = Set.new([
269-
"boost",
270-
"CocoaAsyncSocket",
271-
"fmt",
272-
"libevent",
273-
"OpenSSL-Universal",
274-
"RCT-Folly",
275-
"SocketRocket",
276-
"YogaKit"
277-
])
278-
279268
installer.target_installation_results.pod_target_installation_results
280269
.each do |pod_name, target_installation_result|
281-
unless pod_to_update.include?(pod_name)
282-
next
283-
end
284270
target_installation_result.native_target.build_configurations.each do |config|
285-
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = Helpers::Constants.min_ios_version_supported
271+
old_iphone_deploy_target = config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] ?
272+
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] :
273+
Helpers::Constants.min_ios_version_supported
274+
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_ios_version_supported.to_f, old_iphone_deploy_target.to_f].max.to_s
286275
end
287276
end
288277
end

0 commit comments

Comments
 (0)