From c7f8898531af544da03c0ead44323571b60f0941 Mon Sep 17 00:00:00 2001
From: Riccardo Cipolleschi <cipolleschi@meta.com>
Date: Mon, 28 Oct 2024 04:20:31 -0700
Subject: [PATCH] Pin Xcodeproj to < 1.26.0 (#47237)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47237

The Xcodeproj gem has been released yesterday to version 1.26.0 and it broke the CI pipeline of react native.

This should fix the issue

[Internal] - Pin Xcodeproj gem to 1.26.0

Reviewed By: blakef

Differential Revision: D65057797

fbshipit-source-id: f4035a1d3c75dd4140eb1646ab2aa0ccb08fb16b
---
 Gemfile                                | 1 +
 packages/react-native/template/Gemfile | 1 +
 packages/rn-tester/Gemfile             | 1 +
 3 files changed, 3 insertions(+)

diff --git a/Gemfile b/Gemfile
index 8e468b2c4e6681..5bd3d0cebb3d66 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,3 +5,4 @@ ruby ">= 2.6.10"
 
 gem 'cocoapods', '~> 1.13'
 gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
+gem 'xcodeproj', '< 1.26.0'
diff --git a/packages/react-native/template/Gemfile b/packages/react-native/template/Gemfile
index 8d72c37a80c356..fecfba5c3ffce2 100644
--- a/packages/react-native/template/Gemfile
+++ b/packages/react-native/template/Gemfile
@@ -7,3 +7,4 @@ ruby ">= 2.6.10"
 # bound in the template on Cocoapods with next React Native release.
 gem 'cocoapods', '>= 1.13', '< 1.15'
 gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
+gem 'xcodeproj', '< 1.26.0'
diff --git a/packages/rn-tester/Gemfile b/packages/rn-tester/Gemfile
index 687d5db0dc63c4..bf343afe901ae8 100644
--- a/packages/rn-tester/Gemfile
+++ b/packages/rn-tester/Gemfile
@@ -8,3 +8,4 @@ ruby ">= 2.6.10"
 gem 'cocoapods', '>= 1.13', '< 1.15'
 gem 'rexml'
 gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
+gem 'xcodeproj', '< 1.26.0'