You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/07/24 20:17:26 UTC
[GitHub] [cordova-ios] QuentinFarizon opened a new issue #1131: Cocoapods CDN is not used
QuentinFarizon opened a new issue #1131:
URL: https://github.com/apache/cordova-ios/issues/1131
<!--
Please have a look at the issue templates you get when you click "New issue" in the GitHub UI.
We very much prefer issues created by using one of these templates.
-->
### Issue Type
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] Bug Report
- [ ] Feature Request
- [ ] Support Question
## Description
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
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 :
[cordova-pod-install-from-github.txt](https://github.com/apache/cordova-ios/files/6873018/cordova-pod-install-from-github.txt)
```
% 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
```
The generated Podfile does start with :
```
source 'https://cdn.cocoapods.org/'
```
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
ionic cordova prepare
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
Cordova : 9.0.0
Cordova-ios : 6.2.0
Xcode 12.1.x, on macOS 10.15.6 (Catalina)
## Checklist
<!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
- [x] I searched for already existing GitHub issues about this
- [x] I updated all Cordova tooling to their most recent version
- [x] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org