1,在项目路径下新建Podfile文件之后,终端输入pod install,报错,错误提示为:
Unable to add a source with url https://github.com/CocoaPods/Specs.git
named master-1
.
You can try adding it manually in ~/.cocoapods/repos
or via pod repo add
.
解决方法:在终端中输入$ pod setup 如下图所示:
原理:此时CocoaPods还不能正常使用,需要更新pod,下载它的一些依赖包。
相关文章
- 老卫带你学---conda安装包时出现错误You will need to adjust your conda configuration to proceed.
- phpMyadmin登录以后出现1193错误的解决方法
- Geforce game ready提示无法继续安装出现一个错误
- qt修改程序版本号与服务器不符,ubuntu安装多个qt版本--不同qt版本编译同一个程序时出现错误--解决方案...
- Linux:centos安装keepalived出现错误
- cad2020安装1603错误_解决CAD安装过程中出现1603致命错误的方法
- nginx出现403错误的解决方法(亲测有效)
- 安装FileFormatConverters,出现错误“无法使用此产品的安装源。请确认安装源存在,并且您可以访问它”
- =>在php中,PHPExcel在PHP7中,save(‘php://output’)出现ERR_INVALID_RESPONSE错误的解决方法...
- Google地球出现“无法连接到登录服务器(错误代码:c00a0194)”解决方法