cocoapods使用的细节
1.项目在集成cocoapods的时候,终端里执行
pod install
可能会一直卡在Updating local specs repositories这句。
这是因为当执行以上命令的时候会升级本地的第三方框架,加一个参数可以省略这一步,然后速度就会提升不少。
pod install --verbose --no-repo-update
pod update --verbose --no-repo-update
2.错误汇总
Unable to satisfy the following requirements:
Podfile文件里平台后没有跟版本号,原因不明
platform :iOS