Skip to content

Commit

Permalink
feat(flagship): update podfile to use cocoapods cdn
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bweissbart committed Jan 14, 2020
1 parent 3ee2d5c commit c3259d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/flagship/__tests__/mock_project/ios/Podfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 3 additions & 1 deletion packages/flagship/ios/Podfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit c3259d7

Please sign in to comment.