@@ -22,10 +22,10 @@ insecure channels.
22
22
gRPC Swift has recently been rewritten on top of [ SwiftNIO] [ swift-nio ] as
23
23
opposed to the core library provided by the [ gRPC project] [ grpc ] .
24
24
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
29
29
30
30
The remainder of this README refers to the 1.x version of gRPC Swift.
31
31
@@ -81,21 +81,6 @@ Alternatively, gRPC Swift can be manually integrated into a project:
81
81
1 . Add the generated project to your own project, and
82
82
1 . Add a build dependency on `GRPC`.
83
83
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
-
99
84
### Getting the `protoc` Plugins
100
85
101
86
Binary 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
111
96
that is part of your `PATH` environment variable. Alternatively the full path to
112
97
the plugins can be specified when using `protoc`.
113
98
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
-
122
99
#### Homebrew
123
100
124
101
The 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).
178
155
[docs- tutorial]: ./ docs/ basic- tutorial.md
179
156
[docs- interceptors- tutorial]: ./ docs/ interceptors- tutorial.md
180
157
[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
183
158
[protobuf- releases]: https: // github.com/protocolbuffers/protobuf/releases
184
159
[swift- nio- platforms]: https: // github.com/apple/swift-nio#supported-platforms
185
160
[swift- nio]: https: // github.com/apple/swift-nio
186
161
[swift- protobuf]: https: // github.com/apple/swift-protobuf
187
162
[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
190
163
[branch- new]: https: // github.com/grpc/grpc-swift/tree/main
191
164
[branch- old]: https: // github.com/grpc/grpc-swift/tree/cgrpc
192
165
[examples- out- of- source]: https: // github.com/grpc/grpc-swift/tree/main/Examples
0 commit comments