No release in over 3 years
Low commit activity in last 3 years
Pod library source file cache proxy
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 12.0

Runtime

~> 1.5
 Project Readme

cocoapods-cache-proxy

pod依赖私服缓存服务, 服务端, 目前仅支持依赖库的源是 git + tag 方式

Installation

$ gem install cocoapods-cache-proxy

Usage

$ pod cache proxy add NAME http://domain/cocoapods/proxy/repos # USER PASSWORD (USER PASSWORD 为 http basic auth user and password)

Private library authorization configuration

$ pod cache proxy auth add DOMAIN TOKEN

Edit Podfile

plugin "cocoapods-cache-proxy", :proxy => "NAME" NAME  pod cache proxy add 命令中的 NAME

# 忽略某个依赖,走默认处理
ignore_cache_proxy_pods! ["SDWebImage"]

target 'CocopodsCacheProxy-Demo' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  
  pod 'AFNetworking', :ignore_cache_proxy => true # 忽略代理,走默认处理
  pod 'SDWebImage', :cache_proxy_source => 'NAME' # NAME 是 pod cache proxy add 命令中的 NAME, 指定此依赖使用哪个代理
  # 此方式会走默认处理方式
  # http源方式会走默认处理方式
  pod 'QMUIKit', :git => 'https://github.com/Tencent/QMUI_iOS'
  # Pods for CocopodsCacheProxy-Demo

end