Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weex踩坑-cocoapods的setup龟速 #4

Open
rico-c opened this issue Oct 26, 2018 · 0 comments
Open

Weex踩坑-cocoapods的setup龟速 #4

rico-c opened this issue Oct 26, 2018 · 0 comments
Labels

Comments

@rico-c
Copy link
Owner

rico-c commented Oct 26, 2018

在安装初始化weex时,会下载强制下载一个很大的包,速度在20Kb/s左右,这个时候可以退出来自己进行安装:

  • 首先进入cocoapods安装的目录,默认在~/.cocoapods目录中,如果执行setup应该有一个叫repos的文件夹,没有就建一个。然后再进去是空的,不空把越来的master删了。然后在这个目录中clone我们需要的东西。
    git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git
  • 下载完毕后,将Specs目录名字改成master。
  • 然后在终端里输入:pod repo
@rico-c rico-c added the Weex label Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant