From 06eea61c19cd730cf0c14a436f042d30791c3f4a Mon Sep 17 00:00:00 2001 From: Matin Zadeh Dolatabad <24797481+matinzd@users.noreply.github.com> Date: Tue, 7 May 2024 05:40:40 -0700 Subject: [PATCH] chore: update Gemfile in template (#44434) Summary: Cocoapods regression is now fixed (been fixed for a while) but we forgot to remove the upper bound and explicit `activesupport` in Gemfile. https://github.com/CocoaPods/CocoaPods/releases/tag/1.15.2 ## Changelog: [IOS] [CHANGED] - Update Gemfile in template Pull Request resolved: https://github.com/facebook/react-native/pull/44434 Test Plan: Run `bundle install/update` should update cocoapods to the latest version and active support should work properly without any issues. Reviewed By: blakef Differential Revision: D57046638 Pulled By: cipolleschi fbshipit-source-id: 9d8e716d4392d7bc5a1940b523e57d2193134f95 --- packages/react-native/template/Gemfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/react-native/template/Gemfile b/packages/react-native/template/Gemfile index 8d72c37a80c356..2a7ce357c5b2ab 100644 --- a/packages/react-native/template/Gemfile +++ b/packages/react-native/template/Gemfile @@ -3,7 +3,6 @@ source 'https://rubygems.org' # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version 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 'activesupport', '>= 6.1.7.5', '< 7.1.0' +# Exclude problematic versions of cocoapods and activesupport that causes build failures. +gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' +gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'