Automic VaultAutomic Vault

brew

swift-protobuf を Homebrew, Nix でインストール

swift-protobuf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install swift-protobuf

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#protoc-gen-swift

nixpkgs package indexes · pkgs/by-name/pr/protoc-gen-swift/package.nix · ソース: api.github.com

概要

パッケージ概要

Plugin and runtime library for using protobuf with Swift

コマンドとエイリアス

  • protoc-gen-swift

履歴

プロジェクトの歴史と使われ方

Swift Protobuf is Apple's Swift implementation for Protocol Buffers, combining a `protoc` code-generation plugin with the SwiftProtobuf runtime library used by generated Swift code.

プロジェクトの歴史

The public repository was created in 2016, after Swift had become open source. The project joined Google's schema-first Protocol Buffers ecosystem by adding a Swift generator, `protoc-gen-swift`, and an idiomatic Swift runtime for generated types.

採用の歴史

The README documents multiple ways to consume the project: building the plugin with SwiftPM, installing the command-line generator through Homebrew, adding the runtime as a SwiftPM dependency, or consuming it through Xcode or CocoaPods. That mix reflects its dual role as both a CLI tool and a library dependency.

使われ方

Developers install or build `protoc-gen-swift`, run `protoc --swift_out=...` on `.proto` files, and add the SwiftProtobuf runtime to their Swift package, Xcode project, or CocoaPods project. The official documentation covers plugin behavior, generated-code APIs, internals, and contribution style.

パッケージ好きにとっての重要性

Swift Protobuf matters to package-manager users because it bridges a language-specific package ecosystem with a cross-language serialization format. It gives Swift packages a generated-code workflow that stays compatible with Protocol Buffers used by Java, C++, Python, Objective-C, and other stacks.

タイムライン

  • 2016: Public GitHub repository created.
  • Current docs: Provides both `protoc-gen-swift` and the SwiftProtobuf runtime library.
  • Current docs: Homebrew installs the protobuf compiler and Swift code-generator plugin.

Related projects

  • The README ties Swift Protobuf to Apple's Swift language, Google's Protocol Buffers and `protoc`, Swift Package Manager, Xcode package dependencies, and CocoaPods.

セキュリティ状態

保護ツール対応はまだ見つかっていません

swift-protobuf に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
protoc-gen-swiftcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.38.1
マネージャ更新日2026-06-23
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/apple/swift-protobuf

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:swift-protobuf
バージョン1.38.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/swift-protobuf
ホームページhttps://github.com/apple/swift-protobuf
リポジトリhttps://github.com/apple/swift-protobuf
上流ドキュメントhttps://github.com/apple/swift-protobuf#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/apple/swift-protobuf.git
最終更新2026-06-23T19:48:06Z
Pulseupdated
依存関係protobuf
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameswift-protobuf
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix92%

protoc-gen-swift

nix profile install nixpkgs#protoc-gen-swift
  • installed executable or alias match
  • 一致条件: Protoc Gen Swift
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/protoc-gen-swift/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment