Skip to content

Commit 71e62fb

Browse files
committed
fix hello world
1 parent 671bcc1 commit 71e62fb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Examples/hello-world/Package.swift

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ let package = Package(
2121
name: "hello-world",
2222
platforms: [.macOS("15.0")],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"),
25-
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"),
26-
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"),
24+
.package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"),
25+
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"),
26+
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"),
2727
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
2828
],
2929
targets: [
@@ -34,6 +34,9 @@ let package = Package(
3434
.product(name: "GRPCNIOTransportHTTP2", package: "grpc-swift-nio-transport"),
3535
.product(name: "GRPCProtobuf", package: "grpc-swift-protobuf"),
3636
.product(name: "ArgumentParser", package: "swift-argument-parser"),
37+
],
38+
plugins: [
39+
.plugin(name: "GRPCProtobufGenerator", package: "grpc-swift-protobuf")
3740
]
3841
)
3942
]

0 commit comments

Comments
 (0)