Open QuentinFarizon opened 2 years ago
I have some plugins that have defined podspecs (let's take cordova-firebasex as example)
The Cocoapods CDN should be used instead of the slow git cloning when installing pods
Here is the podspecs definition of cordova-firebasex :
<podspec> <config> <source url="https://cdn.cocoapods.org/"/> </config> <pods use-frameworks="true"> <pod name="Firebase/Core" spec="6.33.0"/> <pod name="Firebase/Auth" spec="6.33.0"/> <pod name="Firebase/Messaging" spec="6.33.0"/> <pod name="Firebase/Performance" spec="6.33.0"/> <pod name="Firebase/RemoteConfig" spec="6.33.0"/> <pod name="FirebaseFirestore" git="https://github.com/invertase/firestore-ios-sdk-frameworks.git" tag="6.33.0"/> <pod name="Firebase/Crashlytics" spec="6.33.0"/> <pod name="GoogleSignIn" spec="5.0.2"/> </pods> </podspec>
I am on the latest cocoapods version, 1.10.1
Yet when running cordova prepare, it install by cloning from Github, which is very slow. See the logs here : cordova-pod-install-from-github.txt
The generated Podfile does start with :
source 'https://cdn.cocoapods.org/'
Here is an output of pod repo list :
% pod repo list master - Type: git (remotes/origin/master) - URL: https://github.com/CocoaPods/Specs.git - Path: /Users/vagrant/.cocoapods/repos/master trunk - Type: CDN - URL: https://cdn.cocoapods.org/ - Path: /Users/vagrant/.cocoapods/repos/trunk 2 repos
ionic cordova prepare
Cordova : 9.0.0 Cordova-ios : 6.2.0 Xcode 12.1.x, on macOS 10.15.6 (Catalina)
Issue Type
Description
Information
I have some plugins that have defined podspecs (let's take cordova-firebasex as example)
The Cocoapods CDN should be used instead of the slow git cloning when installing pods
Here is the podspecs definition of cordova-firebasex :
I am on the latest cocoapods version, 1.10.1
Yet when running cordova prepare, it install by cloning from Github, which is very slow. See the logs here : cordova-pod-install-from-github.txt
The generated Podfile does start with :
Here is an output of pod repo list :
Command or Code
ionic cordova prepare
Environment, Platform, Device
Version information
Cordova : 9.0.0 Cordova-ios : 6.2.0 Xcode 12.1.x, on macOS 10.15.6 (Catalina)
Checklist