Skip to content

Commit 703d351

Browse files
authored
Remove Cocoapods script and references (#1439)
Motivation: We no longer support Cocoapods, so we should remove any references to them from the repo. Modifications: - Remove pod related tooling and documentation. Result: More accurate documentation. Cleaner repo.
1 parent 9ccefbe commit 703d351

File tree

8 files changed

+5
-410
lines changed

8 files changed

+5
-410
lines changed

CGRPCZlib.podspec

Lines changed: 0 additions & 20 deletions
This file was deleted.

Examples/Google/SpeechToText/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ This project requires a Google Cloud API Key. Please [register](https://cloud.go
2929

3030
## Helpful Links
3131
* [Getting Started with Speech APIs](https://cloud.google.com/speech-to-text/docs/quickstart)
32-
* [CocoaPods](https://cocoapods.org/)
33-
* [gRPC-Swift CocoaPod](https://cocoapods.org/pods/gRPC-Swift)
3432

3533
NOTE: Implementation of the AudioStreamManager is based off of [Google's Example Audio Streaming](https://github.com/GoogleCloudPlatform/ios-docs-samples/blob/master/speech/Swift/Speech-gRPC-Streaming/Speech/AudioController.swift)
3634

README.md

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ insecure channels.
2222
gRPC Swift has recently been rewritten on top of [SwiftNIO][swift-nio] as
2323
opposed 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

3030
The 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:
8181
1. Add the generated project to your own project, and
8282
1. 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

10186
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
11196
that is part of your `PATH` environment variable. Alternatively the full path to
11297
the 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

124101
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).
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

docs/plugin.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ desired, and setting `KeepMethodCasing=true` will yield stubs named `Foo`.
9696
The **GRPCModuleName** option allows the name of the gRPC Swift runtime module
9797
to be specified. The value, if not specified, defaults to "GRPC".
9898

99-
*Note: most users will not need to use this option. It is intended as a
100-
workaround for CocoaPods users who may end up with a transitive dependency on
101-
the gRPC core C library whose module name is also "GRPC".*
99+
*Note: most users will not need to use this option.*
102100

103101
### SwiftProtobufModuleName
104102

gRPC-Swift-Plugins.podspec

Lines changed: 0 additions & 20 deletions
This file was deleted.

gRPC-Swift.podspec

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)