gpt4 book ai didi

sharekit - CocoaPods ShareKit 安装问题

转载 作者:行者123 更新时间:2023-12-04 04:56:16 24 4
gpt4 key购买 nike

我尝试使用 CocoaPods 安装 ShareKit 2.2。

在命令行中我输入下一个:

touch Podfile
open -e Podfile

使用以下行编辑我的 Podfile:
platform :ios, '5.0'
pod 'ShareKit', '~> 2.2'

保存文件并输入 pod install
后线 Installing ShareKit (2.2)命令行工具让我输入github账号信息。我已输入我的帐户并在下面收到此消息:
[!] Pod::Executable clone  --mirror "https://github.com/dkuhnke/ShareKit.git" "/Users/developer/Library/Caches/CocoaPods/GitHub/a45caba117704c3f4cfa5f478a14e9305d2d5e9f"

Cloning into bare repository '/Users/developer/Library/Caches/CocoaPods/GitHub/a45caba117704c3f4cfa5f478a14e9305d2d5e9f'...
fatal: https://github.com/dkuhnke/ShareKit.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?

我做错了什么?

最佳答案

ShareKit 的维护者决定删除 tag references用于规范。目前,他们希望暂时从 CocoaPods 规范存储库中删除 https://github.com/CocoaPods/Specs/pull/2280

我建议按照他们的说明进行安装 https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit

编辑:我刚刚删除了 2.1 和 2.2 规范 https://github.com/CocoaPods/Specs/commit/c7ba46164cd76ef3a34a4036f2f3889ee0e0187c

2.0 规范仍然可用,但您仍然可以考虑官方安装说明。

更新:

如果您仍想使用 CocoaPods 安装 ShareKit,已将 ShareKit 2.3 版规范添加到存储库 https://github.com/CocoaPods/Specs/commit/e7b99c9913be9e8b31ea846a98a60f8f25acbd64

关于sharekit - CocoaPods ShareKit 安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16710435/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com