阿里云Pod仓库指定
- 需配置阿里云Pod私有仓库,在Podfile中添加 
source;source 'https://github.com/CocoaPods/Specs.git'source 'https://github.com/aliyun/aliyun-specs.git'
 
pod search为什么搜索不到指定SDK ?
- 在终端执行 
pod repo add命令拉取Pod仓库到本地。pod repo add AliyunRepo https://github.com/aliyun/aliyun-specs.git
 - 或手动拉取Pod仓库工程到CocoaPods仓库目录(默认为
~/.cocoapods/repos);git clone https://github.com/aliyun/aliyun-specs.git ~/.cocoapods/repos/
 - 可执行 
pod repo list查看本地Pod仓库信息 。 
pod repo add 或 git clone 失败 ?
- 仔细核对错误信息 ,一般为Github账号publicKey配置问题 。
 
【附】Pod 命令使用可参考 :官方文档 。
该文章对您有帮助吗?