cocoapods安装和使用
载你走
念念不忘,必有回响
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
安装cocoapods报错解决以及使用pod install报错
一、安装cocoapods你可能遇到的问题现在搜到的很多文章都已经老了,不适用了。安装步骤我就不在此一一写出来了。我直接写它的变化吧,如果你执行了podSetup 之后 直接就结束了,那就执行git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/trunk如果你等待了许久却等来了error那你换个...原创 2020-04-30 16:29:47 · 1406 阅读 · 6 评论 -
Pod 时 Error installing XXX库 ...........Failed to connect to 127.0.0.1 port 1080: Connection refused
这时候你先看一下代理在终端输入:git config --global http.proxy git config --global --unset http.proxy然后测试一下管不管用,不管用则1、open ~/.gitconfig2、删除里面的[http "https://github.com"]proxy = socks5://127.0....原创 2020-03-24 13:11:57 · 1005 阅读 · 0 评论 -
pod install时出错 不能连接
pod install 一些库时会出现这种错误,科学上网之后还是如此。打开网络偏好设置 -> 高级 -> DNS -> + 8.8.8.8 (以太网 和 wifi都要设置)原创 2020-05-18 14:07:13 · 600 阅读 · 0 评论 -
iOS 开发failed to emit precompiled header 以及 “xxx-Swift.h“ file not found
3.把podfile里的库删掉 执行 podinstall。2.删除 podfile.lock。4.podfile填回所有的库名字。1.删除 pods 文件夹。5.重新podinstall。原创 2024-12-10 18:31:28 · 986 阅读 · 0 评论 -
解药 Failed to connect to github.com port 443 after 75002 ms: Couldn‘t connect to serve
pod instal 失败 github.com port 443 after原创 2025-03-27 10:43:21 · 627 阅读 · 0 评论 -
2024最新安装cocoapods指南以及一些闭坑建议
一、确保ruby环境存在,并且源是https://gems.ruby-china.com二、开始安装cocoapods1.sudo gem install -n /usr/local/bin cocoapods2.pod setup3.git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/trunk4.安装完成,测试一下pod search AFNetworking三、安装..原创 2020-05-19 17:28:48 · 2625 阅读 · 1 评论
分享