Unable to add a source with url https://github.com/CocoaPods/Specs.git named cocoapods.
错误场景
使用pod install下载依赖时,出现以下错误
Cloning spec repo `cocoapods` from `https://github.com/CocoaPods/Specs.git`
[!] Unable to add a source with url `https://g
创建本地pod库的目的是项目组件化拆分,把功能和业务最大限度的解耦。
1,创建新工程ComponentTest,初始化pod:
cd 项目路径
pod init
2,创建需要pod本地管理的文件,就叫Snow.h Snow.m文件吧
写上一个方法,方便一会儿测试;
3,创建库文件夹名字就叫LocalLib,用来装拆分的组件代码;多个组件的话可以在这个文件夹下再分出几个文件夹;
我这里库名称是MyFirstLibrary,在库文件目录下创建podspec文件
cd /User
Sign In with Apple是iOS 13的新增功能
所以现在苹果的app有第三方登录的功能需要加上苹果的登录(不然审核时会被拒掉)
一、证书文件配置
登录开发者账号,创建Bundle ID时 勾选 Sign In With Apple ,开启登录功能(勾选或取消服务,会导致之前的 profile 描述文件失效,不需要新建,只要点击 Edit 重新编辑对应的 profile文件,然后保存下载使用新的profile文件即可)
二、xcode配置
在xcode中去添加Sign
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=%5BXcodeproj%5D+Unknown+object+version.&type=Issues
If none exists, create a ticket, with the template displayed a
前言
如果上篇文章没能解决你的问题,那可以试试这篇文章的解决方案。
开发环境
Xcode: 14.0.1
FastLane: 2.210.1
Cocoapods: 1.11.3
Ruby: 2.6.8p205
问题描述
执行pod install命令报错提示:
Warning: CocoaPods is installed but broken. Skipping pod install.
You appear to have CocoaPods installed