Skip to content

Commit 8c779cd

Browse files
Cookiezbyfacebook-github-bot
authored andcommitted
fix: typo at utils.rb (#39572)
Summary: Fix typo in `packages/react/native/scripts/cocoapods/utils.rb` ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [iOS] [Fixed] - Fix the typo for the method `is_using_xcode15_or_greater` Pull Request resolved: #39572 Reviewed By: dmytrorykun Differential Revision: D49594275 Pulled By: cortinico fbshipit-source-id: 8637fc9b10cfad3742b038ed9402585fe2af56b7
1 parent 63ca55b commit 8c779cd

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
@@ -162,7 +162,7 @@ def self.apply_xcode_15_patch(installer, xcodebuild_manager: Xcodebuild)
162162
project.build_configurations.each do |config|
163163
# fix for weak linking
164164
self.safe_init(config, other_ld_flags_key)
165-
if self.is_using_xcode15_or_greter(:xcodebuild_manager => xcodebuild_manager)
165+
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
168168
self.remove_value_to_setting_if_present(config, other_ld_flags_key, xcode15_compatibility_flags)
@@ -358,7 +358,7 @@ def self.remove_value_to_setting_if_present(config, setting_name, value)
358358
end
359359
end
360360

361-
def self.is_using_xcode15_or_greter(xcodebuild_manager: Xcodebuild)
361+
def self.is_using_xcode15_or_greater(xcodebuild_manager: Xcodebuild)
362362
xcodebuild_version = xcodebuild_manager.version
363363

364364
# The output of xcodebuild -version is something like

0 commit comments

Comments
 (0)