问题
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