@@ -22,10 +22,10 @@ insecure channels.
2222gRPC Swift has recently been rewritten on top of [ SwiftNIO] [ swift-nio ] as
2323opposed to the core library provided by the [ gRPC project] [ grpc ] .
2424
25- Version | Implementation | Branch | ` protoc ` Plugin | CocoaPod | Support
26- --------|----------------|------------------------|-------------------------|-----------------------|----------------------- ------------------
27- 1.x | SwiftNIO | [ ` main ` ] [ branch-new ] | ` protoc-gen-grpc-swift ` | [ gRPC-Swift ] [ pod-new ] | Actively developed and supported
28- 0.x | gRPC C library | [ ` cgrpc ` ] [ branch-old ] | ` protoc-gen-swiftgrpc ` | [ SwiftGRPC ] [ pod-old ] | No longer developed; security fixes only
25+ Version | Implementation | Branch | ` protoc ` Plugin | Support
26+ --------|----------------|------------------------|-------------------------|-----------------------------------------
27+ 1.x | SwiftNIO | [ ` main ` ] [ branch-new ] | ` protoc-gen-grpc-swift ` | Actively developed and supported
28+ 0.x | gRPC C library | [ ` cgrpc ` ] [ branch-old ] | ` protoc-gen-swiftgrpc ` | No longer developed; security fixes only
2929
3030The remainder of this README refers to the 1.x version of gRPC Swift.
3131
@@ -81,21 +81,6 @@ Alternatively, gRPC Swift can be manually integrated into a project:
81811 . Add the generated project to your own project, and
82821 . Add a build dependency on `GRPC`.
8383
84- #### CocoaPods
85-
86- gRPC Swift is currently available [from CocoaPods][pod- new]. To integrate, add
87- the following line to your `Podfile`:
88-
89- ```ruby
90- pod 'gRPC- Swift', '~> 1.0.0 '
91- ```
92-
93- Then, run `pod install` from command line and use your project's generated
94- `.xcworkspace ` file. You might also need to add `use_frameworks! ` to your `Podfile`.
95-
96- *⚠️ If you have conficting modules as a result of having a transitive
97- dependency on '[gRPC- Core][grpc- core- pod]' see [grpc/ grpc- swift#945 ][grpc- swift- 945 ].*
98-
9984### Getting the `protoc` Plugins
10085
10186Binary releases of `protoc`, the Protocol Buffer Compiler, are available on
@@ -111,14 +96,6 @@ To install these plugins, just copy the two executables (`protoc-gen-swift` and
11196that is part of your `PATH` environment variable. Alternatively the full path to
11297the plugins can be specified when using `protoc`.
11398
114- Alternatively, you can get the latest precompiled version of the plugins by adding
115- the following line to your `Podfile`:
116-
117- ```ruby
118- pod 'gRPC- Swift- Plugins'
119- ```
120- The plugins are available in the `Pods/ gRPC-Swift-Plugins/ ` folder afterwards.
121-
12299#### Homebrew
123100
124101The plugins are available from [homebrew](https :// brew.sh) and can be installed with:
@@ -178,15 +155,11 @@ Please get involved! See our [guidelines for contributing](CONTRIBUTING.md).
178155[docs- tutorial]: ./ docs/ basic- tutorial.md
179156[docs- interceptors- tutorial]: ./ docs/ interceptors- tutorial.md
180157[grpc]: https: // github.com/grpc/grpc
181- [grpc- core- pod]: https: // cocoapods.org/pods/gRPC-Core
182- [grpc- swift- 945 ]: https: // github.com/grpc/grpc-swift/pull/945
183158[protobuf- releases]: https: // github.com/protocolbuffers/protobuf/releases
184159[swift- nio- platforms]: https: // github.com/apple/swift-nio#supported-platforms
185160[swift- nio]: https: // github.com/apple/swift-nio
186161[swift- protobuf]: https: // github.com/apple/swift-protobuf
187162[xcode- spm]: https: // help.apple.com/xcode/mac/current/#/devb83d64851
188- [pod- new]: https: // cocoapods.org/pods/gRPC-Swift
189- [pod- old]: https: // cocoapods.org/pods/SwiftGRPC
190163[branch- new]: https: // github.com/grpc/grpc-swift/tree/main
191164[branch- old]: https: // github.com/grpc/grpc-swift/tree/cgrpc
192165[examples- out- of- source]: https: // github.com/grpc/grpc-swift/tree/main/Examples
0 commit comments