macOS
brew install protoc-gen-grpc-swiftlocal Homebrew formula metadata
安装
brew install protoc-gen-grpc-swiftlocal Homebrew formula metadata
概览
Protoc plugin for generating gRPC Swift stubs
历史
protoc-gen-grpc-swift is the gRPC Swift protoc plugin for generating typed Swift client and server stubs from protobuf service declarations. The packaged executable is protoc-gen-grpc-swift-2 and is paired with SwiftProtobuf-generated message types.
The first grpc-swift repository combined a Swift gRPC runtime with its code generator. Its official README now identifies that line as gRPC Swift 1 in maintenance mode and points users to gRPC Swift 2.
The grpc-swift-protobuf project provides the Protocol Buffers integration and protoc code generator used by the current gRPC Swift generation workflow.
Swift support became part of gRPC's language ecosystem for Apple-platform and server-side Swift development. The generator is used with SwiftProtobuf, which supplies protobuf message generation and runtime support.
The current Homebrew record exposes an executable named protoc-gen-grpc-swift-2, reflecting the second-generation toolchain. Package-manager installation gives developers a host binary that can be integrated into protoc-based builds.
Install the generator, ensure protoc can locate the protoc-gen-grpc-swift-2 executable or pass its path explicitly, and run it alongside SwiftProtobuf generation for schemas containing services. Compile the generated sources with the corresponding gRPC Swift and SwiftProtobuf libraries. No persistent configuration or credentials file is documented for the generator.
The package highlights the generator/runtime split common to protobuf ecosystems: SwiftProtobuf owns message serialization, while grpc-swift-protobuf generates RPC-specific types layered on the gRPC Swift runtime.
The executable's -2 suffix is operationally important for build scripts and distinguishes the current generator line from the earlier gRPC Swift 1 tooling.
安全态势
没有找到 protoc-gen-grpc-swift 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
protoc-gen-grpc-swift-2 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/grpc/grpc-swift-protobuf
安装元数据
| 软件包键 | brew:protoc-gen-grpc-swift |
|---|---|
| 版本 | 2.4.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/protoc-gen-grpc-swift |
| 主页 | https://github.com/grpc/grpc-swift-protobuf |
| 仓库 | https://github.com/grpc/grpc-swift-protobuf |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/grpc/grpc-swift-protobuf/archive/refs/tags/2.4.1.tar.gz |
| 最后更新 | 2026-09-13T12:31:36Z |
| Pulse | updated |
| 依赖 | protobuf, swift-protobuf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | protoc-gen-grpc-swift |
| Version Scheme | 1 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.