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'