Can not update my pod library

白昼怎懂夜的黑 提交于 2019-12-10 10:02:03

问题


I have published my component HDTableDataSource on Cocoapods. I have now updated the version of the code by adding some code.

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

Kindly help me to update my library. My Library is at https://github.com/HarshitDaftary/HDTableDataSource


回答1:


I got this problem solved by executing following command

pod spec lint HDTableDataSource.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.



来源:https://stackoverflow.com/questions/30073705/can-not-update-my-pod-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!