Cocopods拉取SVN私有库出现问题解决
2021-11-12 本文已影响0人
鄭经仁
当项目有用到SVN私有库的时候,通过Cocopods拉取私有库会报错[!] Unable to find a source named: tags
,解决方法如下
1.安装MAC环境HomeBrew
2.通过HomeBrew安装SVN 终端输入命令行brew install svn
3.安装SVN插件终端输入命令行
sudo gem install cocoapods-repo-svn
4.这时候SVN拉取私有库还是会报错 Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted
我们需要配置SVN账号密码,http地址是podfile文件中的地址,注意域名可能会发生改变,如果改变,同步修改podfile文件
svn ls https://xxxxx/cocoapods-svn/tags
5.
