Skip to content

Commit b1c727e

Browse files
committed
chore: fix grammar in Xcode 15 helper method name
1 parent 5203354 commit b1c727e

File tree

1 file changed

+2
-2
lines changed
  • packages/react-native/scripts/cocoapods

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def self.apply_xcode_15_patch(installer, xcodebuild_manager: Xcodebuild)
165165
if self.is_using_xcode15_or_greater(:xcodebuild_manager => xcodebuild_manager)
166166
self.add_value_to_setting_if_missing(config, other_ld_flags_key, xcode15_compatibility_flags)
167167
else
168-
self.remove_value_to_setting_if_present(config, other_ld_flags_key, xcode15_compatibility_flags)
168+
self.remove_value_from_setting_if_present(config, other_ld_flags_key, xcode15_compatibility_flags)
169169
end
170170
end
171171
project.save()
@@ -346,7 +346,7 @@ def self.add_value_to_setting_if_missing(config, setting_name, value)
346346
end
347347
end
348348

349-
def self.remove_value_to_setting_if_present(config, setting_name, value)
349+
def self.remove_value_from_setting_if_present(config, setting_name, value)
350350
old_config = config.build_settings[setting_name]
351351
if old_config.include?(value)
352352
# Old config can be either an Array or a String

0 commit comments

Comments
 (0)