I am creating a cocoapod. In .podspec, I added the line:
cs.dependency 'Google-API-Client', '~> 1.0'
and from now on I cannot push my structure to spec repo. During
pod repo push company-private MyFramework.podspec --allow-warnings --verbose
I see the following problem:
ERROR | [MyFramework/Core] Google-API-Client/Source/Objects/GTLService.m:86:1: error: duplicate interface definition for class 'GTMHTTPUploadFetcher'
I have no idea how to fix this. I tried:
sudo rm -fr ~/Library/Caches/CocoaPods/ sudo rm -fr ~/.cocoapods/repos/master/ sudo rm -fr Pods/
But it did not help. This seems to be a Google-API-Client error, but their reaction time is very long (expecting ~ 6 months for the previous ticket, not yet decided) that I can not wait so long. Does anyone know how to skip a problem? Creating locally on my machine really works.
Vive source share