Skip to content

Commit

Permalink
chore: fix pod install on linux (add comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
leotm committed Jul 31, 2024
1 parent b5be8a5 commit 9b279b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions patches/react-native+0.72.15.patch
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rnc
new file mode 100644
index 0000000..e69de29
diff --git a/node_modules/react-native/scripts/cocoapods/utils.rb b/node_modules/react-native/scripts/cocoapods/utils.rb
index 6507f8b..9e0ec97 100644
index 6507f8b..924edd3 100644
--- a/node_modules/react-native/scripts/cocoapods/utils.rb
+++ b/node_modules/react-native/scripts/cocoapods/utils.rb
@@ -354,20 +354,22 @@ class ReactNativePodsUtils
@@ -354,20 +354,23 @@ class ReactNativePodsUtils
end

def self.is_using_xcode15_0(xcodebuild_manager: Xcodebuild)
Expand All @@ -261,6 +261,7 @@ index 6507f8b..9e0ec97 100644
- major = match_data[1].to_i
- minor = match_data[2].to_i
- return major == 15 && minor == 0
+ # Catch exception on Linux (fixed in RN 0.74+)
+ begin
+ xcodebuild_version = xcodebuild_manager.version
+
Expand Down

0 comments on commit 9b279b5

Please sign in to comment.