cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-ios] erisu commented on pull request #878: Replaced references to Cocoapods repository
Date Mon, 01 Jun 2020 08:57:48 GMT

erisu commented on pull request #878:
URL: https://github.com/apache/cordova-ios/pull/878#issuecomment-636713915


   If you are using an older version of CocoaPods, it could be using GitHub by default. 
   
   If you are using version 1.7.2+ and lower than 1.8.0, you can configure CocoaPods to use
CDN.
   
   In the latest Cordova iOS release 6.0.0, we bumped the minimum required version of CocoaPods
to 1.8.0, which uses CDN by default.
   
   Now, if the issue is not related to the tooling itself, for example if you are using 1.8.0+,
it is possible that one of the plugins you are loading has set the source to GH.
   
   For example, if you read our docs on how to configuring the `plugin.xml` for building a
plugin.
   https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#pod
   
   A plugin developer could have written something like this.
   
   ```xml
       <podspec>
         <config>
           <source url="https://github.com/CocoaPods/Specs.git"/>
         </config>
         <pods use-frameworks="true">
           <pod name="AFNetworking" spec="~> 3.2" />
         </pods>
       </podspec>
   ```
   
   In that example, they explicitly set the GH url as one of the sources to check. Added the
source is not required if they are using the default repo/CDN.


----------------------------------------------------------------
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.

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


Mime
View raw message