Skip to content

Commit 9638bb0

Browse files
SaadnajmiShevO27
authored andcommitted
updateIphoneOSDeploymentTarget -> updateOSDeploymentTarget (facebook#39570)
Summary: While merging new commits into React Native macOS, I noticed facebook#39478 I would like to also set `MACOS_DEPLOYMENT_TARGET` in our fork, and thought this slight rename would be something I can do upstream ## Changelog: [Internal] - updateIphoneOSDeploymentTarget -> updateOSDeploymentTarget Pull Request resolved: facebook#39570 Test Plan: CI should pass Reviewed By: NickGerleman Differential Revision: D49514693 Pulled By: ryancat fbshipit-source-id: b4dafb1f9736d2977510712652cb8097263c489d
1 parent 88bc0ac commit 9638bb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def self.update_search_paths(installer)
290290
end
291291
end
292292

293-
def self.updateIphoneOSDeploymentTarget(installer)
293+
def self.updateOSDeploymentTarget(installer)
294294
pod_to_update = Set.new([
295295
"boost",
296296
"CocoaAsyncSocket",

packages/react-native/scripts/react_native_pods.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def react_native_post_install(
273273
ReactNativePodsUtils.apply_flags_for_fabric(installer, fabric_enabled: fabric_enabled)
274274
ReactNativePodsUtils.apply_xcode_15_patch(installer)
275275
ReactNativePodsUtils.apply_ats_config(installer)
276-
ReactNativePodsUtils.updateIphoneOSDeploymentTarget(installer)
276+
ReactNativePodsUtils.updateOSDeploymentTarget(installer)
277277

278278
NewArchitectureHelper.set_clang_cxx_language_standard_if_needed(installer)
279279
NewArchitectureHelper.modify_flags_for_new_architecture(installer, NewArchitectureHelper.new_arch_enabled)

0 commit comments

Comments
 (0)