Skip to content

Commit 93307d2

Browse files
authored
Disable CocoaPods CDN in pod installs (#3165) (#3166)
1 parent f413995 commit 93307d2

File tree

8 files changed

+19
-8
lines changed

8 files changed

+19
-8
lines changed

Example/Auth/AuthSample/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
#source 'https://github.com/CocoaPods/Specs.git'
44

55
# Comment the following line to use the CocoaPods master repo instead.
6-
source 'https://cdn.jsdelivr.net/cocoa/'
6+
# Disabled. See https://github.com/firebase/firebase-ios-sdk/issues/3165
7+
# source 'https://cdn.jsdelivr.net/cocoa/'
78

89
use_frameworks!
910

Example/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
#source 'https://github.com/CocoaPods/Specs.git'
44

55
# Comment the following line to use the CocoaPods master repo instead.
6-
source 'https://cdn.jsdelivr.net/cocoa/'
6+
# Disabled. See https://github.com/firebase/firebase-ios-sdk/issues/3165
7+
# source 'https://cdn.jsdelivr.net/cocoa/'
78

89
use_frameworks!
910

Firestore/Example/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
#source 'https://github.com/CocoaPods/Specs.git'
44

55
# Comment the following line to use the CocoaPods master repo instead.
6-
source 'https://cdn.jsdelivr.net/cocoa/'
6+
# Disabled. See https://github.com/firebase/firebase-ios-sdk/issues/3165
7+
# source 'https://cdn.jsdelivr.net/cocoa/'
78

89
use_frameworks!
910

InAppMessaging/Example/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
use_frameworks!
22

33
# Comment the following line to use the CocoaPods master repo instead.
4-
source 'https://cdn.jsdelivr.net/cocoa/'
4+
# Disabled. See https://github.com/firebase/firebase-ios-sdk/issues/3165
5+
# source 'https://cdn.jsdelivr.net/cocoa/'
56

67
pod 'FirebaseAnalytics'
78
pod 'FirebaseCore', :path => '../..'

InAppMessagingDisplay/Example/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Comment the following line to use the CocoaPods master repo instead.
2-
source 'https://cdn.jsdelivr.net/cocoa/'
2+
# Disabled. See https://github.com/firebase/firebase-ios-sdk/issues/3165
3+
# source 'https://cdn.jsdelivr.net/cocoa/'
34

45
use_frameworks!
56

SymbolCollisionTest/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# platform :ios, '9.0'
33

44
# Comment the following line to use the CocoaPods master repo instead.
5-
source 'https://cdn.jsdelivr.net/cocoa/'
5+
# Disabled. See https://github.com/firebase/firebase-ios-sdk/issues/3165
6+
# source 'https://cdn.jsdelivr.net/cocoa/'
67

78
target 'SymbolCollisionTest' do
89
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks

scripts/install_prereqs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ function install_secrets() {
4848

4949
function pod_gen() {
5050
# Call pod gen with a podspec and additonal optional arguments.
51-
bundle exec pod gen --local-sources=./ --sources=https://cdn.jsdelivr.net/cocoa/ "$@"
51+
# Disabled CDN. See https://github.com/firebase/firebase-ios-sdk/issues/3165
52+
# bundle exec pod gen --local-sources=./ --sources=https://cdn.jsdelivr.net/cocoa/ "$@"
53+
bundle exec pod gen --local-sources=./ "$@"
5254
}
5355

5456
case "$PROJECT-$PLATFORM-$METHOD" in

scripts/pod_lib_lint.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ def main(args)
3838
exit(1)
3939
end
4040

41-
command = %w(bundle exec pod lib lint --sources=https://cdn.jsdelivr.net/cocoa/)
41+
# Disabled CDN. See https://github.com/firebase/firebase-ios-sdk/issues/3165
42+
# command = %w(bundle exec pod lib lint --sources=https://cdn.jsdelivr.net/cocoa/)
43+
command = %w(bundle exec pod lib lint)
4244

4345
# Figure out which dependencies are local
4446
podspec_file = args[0]
@@ -48,6 +50,7 @@ def main(args)
4850

4951
command.push(*args)
5052
puts command.join(' ')
53+
exec('bundle exec pod repo update')
5154
exec(*command)
5255
end
5356

0 commit comments

Comments
 (0)