vyshane/grpc-swift-combine

Cocoapods 1.0.12 version pod error

Closed this issue · 4 comments

POD: pod 'CombineGRPC', '~> 1.0.12'

Hi, I am trying to update to version 1.0.12 using cocoapods but I get the following error:

CocoaPods could not find compatible versions for pod "CombineGRPC":
In Podfile:
CombineGRPC (~> 1.0.12)

None of your spec sources contain a spec satisfying the dependency: CombineGRPC (~> 1.0.12).

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

I am doing something wrong ? or this is a bug? Thank you!

Unfortunately upstream grpc-swift have not updated their podspec since 1.6.0. Therefore, the latest version of CombineGRPC that is available in Cocoapods is 1.0.8, and that matches v1.6.0 of grpc-swift.

Are you able to use Swift Package Manager? The latest version is available via SPM.

Thank you for the quick answer. I will try SPM, and come back with the result

Hi, I'm back. Using the SPM worked, but in my case I couldn't used it inside the private Pod (build using cocoapods) that I am developing. I will close this issue, hopping it will be fixed when the grpc-swift updates their podspec. Thanks for the fast reply! Keep up the good work.