From c3259d78f5c4a58b255ee64282467e1fb599cdf6 Mon Sep 17 00:00:00 2001 From: Brett Weissbart Date: Thu, 19 Dec 2019 16:22:20 -0500 Subject: [PATCH] feat(flagship): update podfile to use cocoapods cdn BREAKING CHANGE: This requires updating CocoaPods (including in CI) to v1.7.2+ in order for pod install to work with the CDN. This allows CocoaPods to pull from their own CDN which avoids rate limiting when pulling sources from GitHub instead. --- packages/flagship/__tests__/mock_project/ios/Podfile | 3 ++- packages/flagship/ios/Podfile | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/flagship/__tests__/mock_project/ios/Podfile b/packages/flagship/__tests__/mock_project/ios/Podfile index 7578b60a81..90a92940e6 100644 --- a/packages/flagship/__tests__/mock_project/ios/Podfile +++ b/packages/flagship/__tests__/mock_project/ios/Podfile @@ -1,5 +1,6 @@ # You Podfile should look similar to this file. React Native currently does not support use_frameworks! -source 'https://github.com/CocoaPods/Specs.git' +# This requires CocoaPods 1.7.2+ +source 'https://cdn.cocoapods.org/' # add more sources using environment key ios.pods.sources # ADDITIONAL_POD_SOURCES diff --git a/packages/flagship/ios/Podfile b/packages/flagship/ios/Podfile index 8913f65b6d..f98d57c48c 100644 --- a/packages/flagship/ios/Podfile +++ b/packages/flagship/ios/Podfile @@ -1,5 +1,7 @@ # You Podfile should look similar to this file. React Native currently does not support use_frameworks! -source 'https://github.com/CocoaPods/Specs.git' + +# This requires CocoaPods 1.7.2+ +source 'https://cdn.cocoapods.org/' # add more sources using environment key ios.pods.sources # ADDITIONAL_POD_SOURCES