@TOC
今天用终端 修改第三方库版本号,的时候执行了 pod update “第三方库名”,然后再podinstall就报了下面错误:
终端中执行的内容重现:
pod install 后出现错误
### Report
* What did you do?
* What did you expect to happen?
* What happened instead?
### Stack
CocoaPods : 1.9.0.beta.2 Ruby : ruby 2.
[root@iZbp1ehco2fi1l7bj6hhphZ ~]# gem install mongo Fetching: bson-4.12.1.gem (100%) Building native extensions. This could take a while...ERROR: Error installing mongo: ERROR: Failed to build gem native extension.
current directory: /u
一、软件介绍
Homebrew 是一款 Mac OS 平台下的软件包管理工具,拥有安装、卸载、更新、查看、搜索等很多实用的功能。简单的一条指令,就可以实现包管理,而不用你关心各种依赖和文件路径的情况,十分方便快捷。
Homebrew 的主命令是 brew,该命令安装软件是直接下载程序源码然后编译安装,并自动做好必要的配置(如环境变量等)。并且,在安装软件之前,会先安装脚本里指明的相关依赖库。
brew 的底层命令其实是 ./configure && make in