今天从git上面download我们项目,然后向往常一样安装Cocoapods。可是却突然发现报错了,尝试了几遍。发现一直报错。
然后我这才看了一下,安装Cocoapods的日志,发现抛出了一个报错。
然后,開始使用我们程序猿的神器,就是Google啦。非常难想象假设没有Google。多少程序猿要丢饭碗。看到了一个博客分享了自己的解决方式,例如以下:
因此我们要用pod命令进行安装。cd到Example文件夹下运行pod install命令,将会报错:
- $ pod install
- Analyzing dependencies
- Fetching podspec for `UAAppReviewManager` from `..`
- [!] Unable to satisfy the following requirements:
- - `UAAppReviewManager (from `..`)` required by `Podfile`
因此我们要用update命令获取最新版本号的类库:
- $ pod update
- Analyzing dependencies
- Fetching podspec for `UAAppReviewManager` from `..`
- Downloading dependencies
- Installing UAAppReviewManager (0.2.1)
一直停在这个页面。。。。
Preparing
Updating local specs repositories
Updating spec repo `master`
例如以下界面:
所有评论(0)