做了个国内的 Cocoapods Specs 镜像,推荐大家多用 pod 管理项目依赖 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
lloydsheng
V2EX    iDev

做了个国内的 Cocoapods Specs 镜像,推荐大家多用 pod 管理项目依赖

  lloydsheng 2014-04-29 10:14:46 +08:00 20544 次点击
这是一个创建于 4184 天前的主题,其中的信息可能已经有所发展或是发生改变。
Cocoapods Specs Repo部署在github上面,网络不好的话做一次pod install要等半个小时以上,严重降低生产力啊!!
当然可以暂时指定 --no-repo-update ,但是总等更新吧。实在被逼得没办法自己做了一个国内的镜像,现在每次安装新的依赖包速度飞快!不敢独享,分享给大家一起使用。
使用方法:

pod repo remove master
pod repo add master https://gitcafe.com/lloydsheng/Specs.git
pod repo update

目前镜像每半个小时同步一次,基本和中央库保证一致。



相关资料:
CocoaPods安装和使用教程: http://code4app.com/article/cocoapods-install-usage
第 1 条附言    2014-04-29 13:29:57 +08:00
顺便推荐一个最近在做的一个新产品:https://neicebao.com
专注解决内测应用管理分发,求体验,求吐槽!
24 条回复    2016-04-25 15:43:04 +08:00
znetor
    1
znetor  
   2014-04-29 10:27:04 +08:00
支持
sugarmo
    2
sugarmo  
   2014-04-29 10:37:56 +08:00
楼主人太好了,支持
chmlai
    3
chmlai  
   2014-04-29 10:44:08 +08:00
赞!
JasperYanky
    4
JasperYanky  
   2014-04-29 10:49:03 +08:00
赞赞
WildCat
    5
WildCat  
   2014-04-29 10:54:52 +08:00 via iPhone
赞,我本来想在osc也弄个,一直没时间,回头把 http://git.oschina.net/cocoapods 的账号送给楼主
lloydsheng
    6
lloydsheng  
OP
   2014-04-29 10:56:53 +08:00
@WildCat gitcafe是我能想起来的一个,不知道国内那个git服务商在稳定性和速度上比较好
JasperYanky
    7
JasperYanky  
   2014-04-29 10:58:16 +08:00
@lloydsheng 目前用osc,有时候会卡~ 移动20M网络~
lloydsheng
    8
lloydsheng  
OP
   2014-04-29 11:12:56 +08:00
@JasperYanky 这个先看看,大家反馈不稳定再换
simapple
    9
simapple  
   2014-04-29 11:18:15 +08:00
又是ruby的好玩意
redf
    10
redf  
   2014-04-29 12:04:50 +08:00
顶 lz, 前几天我还发愁呢
pljhonglu
    11
pljhonglu  
   2014-04-29 12:16:45 +08:00
在用 osc 的
hengxin196
    12
hengxin196  
   2014-04-30 00:24:26 +08:00
赞+1
oooo723
    13
oooo723  
   2014-04-30 11:19:37 +08:00
怒赞
WildCat
    14
WildCat  
   2014-04-30 14:05:01 +08:00
pod repo remove master
[!] You do not have permission to delete the master repository.Perhaps try prefixing this command with sudo.


sudo pod repo remove master
/Library/Ruby/Gems/2.0.0/gems/claide-0.5.0/lib/claide/command.rb:328:in `help!': [!] You cannot run CocoaPods as root. (CLAide::Help)

何解?
lloydsheng
    15
lloydsheng  
OP
   2014-04-30 14:20:26 +08:00   1
@WildCat sudo chown -R xxx:xxx ~/.cocoapods/repos
hengxin196
    16
hengxin196  
   2014-05-03 22:54:11 +08:00
hengxin196
    17
hengxin196  
   2014-05-03 22:55:06 +08:00
我做了一下 cocoapods specs库的镜像 分别在oschina 和 gitcafe放了 参考下 我的博客
http://akinliu.github.io/2014/05/03/cocoapods-specs-/
yourtion
    18
yourtion  
   2014-05-05 14:28:33 +08:00
支持
JasperYanky
    19
JasperYanky  
   2014-07-11 12:01:46 +08:00
今天gitcafe挂了~
redf
    20
redf  
   2014-09-11 15:24:12 +08:00
现在 lz 已经把这个地址关了,大家还是切回官方的吧。 要不然找不到新的 pod 了
729397005
    21
729397005  
   2014-12-11 10:37:52 +08:00
我擦!!!这是一个坟帖!!!!!
都关了还不告诉我们,浪费大家的时间!
ibenjamin
    22
ibenjamin  
   2014-12-23 09:13:47 +08:00
https://coding.net/u/chufaba/p/CocoaPods-Specs/git
这个地址的能用,哪里找到的忘记了。。
MrMign
    23
MrMign  
   2015-05-29 23:45:59 +08:00
OSC 还在更新中,gitcafe上的已死
Tairy
    24
Tairy  
   2016-04-25 15:43:04 +08:00
@ibenjamin coding 这个 说是 repo 太大,要付费用户才能下载!
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2835 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 25ms UTC 13:12 PVG 21:12 LAX 06:12 JFK 09:12
Do have faith in what you're doing.
ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86