grpc-swift: build error with grpc-swift dependency
I am trying to build a project of mine that depends on grpc-swift and get a lot of these errors:
error: value of type ‘ChannelPipeline.SynchronousOperations’ has no member ‘nioSSL_tlsVersion’
return try self.pipeline.syncOperations.nioSSL_tlsVersion().map(GRPCTLSVersion.init)
This happens while depending on version 1.13.1. At the moment I have no idea what I could change.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 28 (14 by maintainers)
See #1542.
You need a newer version of
swift-nio
. We forgot to update the minimum required swift version in this PR: https://github.com/grpc/grpc-swift/pull/1509For now you can just update to the latest swift-nio version to resolve the issue manually.
However, we should update our Package.swift too.