Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Cocoapods script and references #1439

Merged
merged 1 commit into from
Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions CGRPCZlib.podspec

This file was deleted.

2 changes: 0 additions & 2 deletions Examples/Google/SpeechToText/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ This project requires a Google Cloud API Key. Please [register](https://cloud.go

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

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)

35 changes: 4 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ insecure channels.
gRPC Swift has recently been rewritten on top of [SwiftNIO][swift-nio] as
opposed to the core library provided by the [gRPC project][grpc].

Version | Implementation | Branch | `protoc` Plugin | CocoaPod | Support
--------|----------------|------------------------|-------------------------|-----------------------|-----------------------------------------
1.x | SwiftNIO | [`main`][branch-new] | `protoc-gen-grpc-swift` | [gRPC-Swift][pod-new] | Actively developed and supported
0.x | gRPC C library | [`cgrpc`][branch-old] | `protoc-gen-swiftgrpc` | [SwiftGRPC][pod-old] | No longer developed; security fixes only
Version | Implementation | Branch | `protoc` Plugin | Support
--------|----------------|------------------------|-------------------------|-----------------------------------------
1.x | SwiftNIO | [`main`][branch-new] | `protoc-gen-grpc-swift` | Actively developed and supported
0.x | gRPC C library | [`cgrpc`][branch-old] | `protoc-gen-swiftgrpc` | No longer developed; security fixes only

The remainder of this README refers to the 1.x version of gRPC Swift.

Expand Down Expand Up @@ -81,21 +81,6 @@ Alternatively, gRPC Swift can be manually integrated into a project:
1. Add the generated project to your own project, and
1. Add a build dependency on `GRPC`.

#### CocoaPods

gRPC Swift is currently available [from CocoaPods][pod-new]. To integrate, add
the following line to your `Podfile`:

```ruby
pod 'gRPC-Swift', '~> 1.0.0'
```

Then, run `pod install` from command line and use your project's generated
`.xcworkspace` file. You might also need to add `use_frameworks!` to your `Podfile`.

*⚠️ If you have conficting modules as a result of having a transitive
dependency on '[gRPC-Core][grpc-core-pod]' see [grpc/grpc-swift#945][grpc-swift-945].*

### Getting the `protoc` Plugins

Binary releases of `protoc`, the Protocol Buffer Compiler, are available on
Expand All @@ -111,14 +96,6 @@ To install these plugins, just copy the two executables (`protoc-gen-swift` and
that is part of your `PATH` environment variable. Alternatively the full path to
the plugins can be specified when using `protoc`.

Alternatively, you can get the latest precompiled version of the plugins by adding
the following line to your `Podfile`:

```ruby
pod 'gRPC-Swift-Plugins'
```
The plugins are available in the `Pods/gRPC-Swift-Plugins/` folder afterwards.

#### Homebrew

The plugins are available from [homebrew](https://brew.sh) and can be installed with:
Expand Down Expand Up @@ -178,15 +155,11 @@ Please get involved! See our [guidelines for contributing](CONTRIBUTING.md).
[docs-tutorial]: ./docs/basic-tutorial.md
[docs-interceptors-tutorial]: ./docs/interceptors-tutorial.md
[grpc]: https://github.com/grpc/grpc
[grpc-core-pod]: https://cocoapods.org/pods/gRPC-Core
[grpc-swift-945]: https://github.com/grpc/grpc-swift/pull/945
[protobuf-releases]: https://github.com/protocolbuffers/protobuf/releases
[swift-nio-platforms]: https://github.com/apple/swift-nio#supported-platforms
[swift-nio]: https://github.com/apple/swift-nio
[swift-protobuf]: https://github.com/apple/swift-protobuf
[xcode-spm]: https://help.apple.com/xcode/mac/current/#/devb83d64851
[pod-new]: https://cocoapods.org/pods/gRPC-Swift
[pod-old]: https://cocoapods.org/pods/SwiftGRPC
[branch-new]: https://github.com/grpc/grpc-swift/tree/main
[branch-old]: https://github.com/grpc/grpc-swift/tree/cgrpc
[examples-out-of-source]: https://github.com/grpc/grpc-swift/tree/main/Examples
Expand Down
4 changes: 1 addition & 3 deletions docs/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ desired, and setting `KeepMethodCasing=true` will yield stubs named `Foo`.
The **GRPCModuleName** option allows the name of the gRPC Swift runtime module
to be specified. The value, if not specified, defaults to "GRPC".

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

### SwiftProtobufModuleName

Expand Down
20 changes: 0 additions & 20 deletions gRPC-Swift-Plugins.podspec

This file was deleted.

29 changes: 0 additions & 29 deletions gRPC-Swift.podspec

This file was deleted.

Loading