From a7b25556449db64d7211c163bdd2e5437c1ad5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwas=CC=81niewski?= Date: Fri, 21 Jun 2024 04:12:26 -0700 Subject: [PATCH] feat: remove upper limit for Cocoapods version (allow for 1.15.2) (#45099) Summary: This PR uses a suggested solution from here: https://github.com/facebook/react-native/issues/42698 to allow users to use Cocoapods 1.15.2 which fixed issues regarding RN builds. ## Changelog: [IOS] [FIXED] - Bump cocoapods version to 1.15.2 excluding 1.15.0, 1.15.1 Pull Request resolved: https://github.com/facebook/react-native/pull/45099 Test Plan: CI Green Reviewed By: blakef Differential Revision: D58863685 Pulled By: cipolleschi fbshipit-source-id: 0128eb0cbf83e4a3d35addbae4c31e349775688c --- Gemfile | 2 +- packages/helloworld/Gemfile | 2 +- packages/rn-tester/Gemfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 8e468b2c4e6681..88f17b435ec0c3 100644 --- a/Gemfile +++ b/Gemfile @@ -3,5 +3,5 @@ source 'https://rubygems.org' # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version ruby ">= 2.6.10" -gem 'cocoapods', '~> 1.13' +gem 'cocoapods', '~> 1.13', '!= 1.15.0', '!= 1.15.1' gem 'activesupport', '>= 6.1.7.5', '< 7.1.0' diff --git a/packages/helloworld/Gemfile b/packages/helloworld/Gemfile index 6180ec4fafab31..50320de98530d5 100644 --- a/packages/helloworld/Gemfile +++ b/packages/helloworld/Gemfile @@ -2,5 +2,5 @@ source 'https://rubygems.org' ruby ">= 2.6.10" -gem 'cocoapods', '>= 1.13', '< 1.15' +gem 'cocoapods', '~> 1.13', '!= 1.15.0', '!= 1.15.1' gem 'activesupport', '>= 6.1.7.5', '< 7.1.0' diff --git a/packages/rn-tester/Gemfile b/packages/rn-tester/Gemfile index 687d5db0dc63c4..0ea65792a4e02c 100644 --- a/packages/rn-tester/Gemfile +++ b/packages/rn-tester/Gemfile @@ -5,6 +5,6 @@ ruby ">= 2.6.10" # Cocoapods 1.15 introduced a bug which break the build. We will remove the upper # bound in the template on Cocoapods with next React Native release. -gem 'cocoapods', '>= 1.13', '< 1.15' +gem 'cocoapods', '~> 1.13', '!= 1.15.0', '!= 1.15.1' gem 'rexml' gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'