Suppress grpc-swift deprecation warnings

The grpc-swift library is transitioning from v2 to v3 API, causing
deprecation warnings for types like RegistrableRPCService, Metadata,
ServerTransport, etc. Suppress these until the library stabilizes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mathias Beaulieu-Duncan 2025-12-30 03:00:53 -05:00
parent 47feeedf9d
commit 5279565797

View File

@ -24,7 +24,9 @@ let package = Package(
.product(name: "ArgumentParser", package: "swift-argument-parser"),
],
swiftSettings: [
.unsafeFlags(["-parse-as-library"])
.unsafeFlags(["-parse-as-library"]),
// Suppress grpc-swift deprecation warnings during v2v3 API transition
.unsafeFlags(["-Xfrontend", "-suppress-warnings"])
]
),
]