无法更新我的吊舱库 [英] Can not update my pod library
问题描述
我已经在Cocoapods上发布了我的组件HDTableDataSource。我已经通过添加一些代码更新了代码的版本。
I have published my component HDTableDataSource on Cocoapods. I have now updated the version of the code by adding some code.
当试图使用命令pod spec lint对其进行编译时,它给了我下面的错误。 p>
While trying to compile it using command "pod spec lint", it gives me following error.
[!] /usr/local/bin/git clone https://github.com/\<GITHUB_USERNAME\>/HDTableDataSource.git /private/var/folders/fm/vxq9zgy52zq28lvcq0qwzpj80000gn/T/CocoaPods/Lint/Pods/HDTableDataSource --single-branch --depth 1 --branch 0.1.0
Cloning into '/private/var/folders/fm/vxq9zgy52zq28lvcq0qwzpj80000gn/T/CocoaPods/Lint/Pods/HDTableDataSource'...
fatal: unable to access 'https://github.com/<GITHUB_USERNAME>/HDTableDataSource.git/': The requested URL returned error: 400
请帮助我更新我的图书馆。
我的图书馆位于 https://github.com/HarshitDaftary/HDTableDataSource
Kindly help me to update my library. My Library is at https://github.com/HarshitDaftary/HDTableDataSource
推荐答案
我通过执行以下命令解决了这个问题
I got this problem solved by executing following command
pod spec lint HDTableDataSource.podspec
我的错误是我正在执行'pod spec lint' ,我没有通过podspec文件。
My mistake was I was executing 'pod spec lint' , I didn't pass the podspec file with it.
非常感谢您的回复。我会尽快删除这个问题。
Thanks all for your response. I will delete this question soon.
这篇关于无法更新我的吊舱库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!