Skip to content

Commit 33fa1e1

Browse files
committed
Fix some manifests
1 parent 97f7e97 commit 33fa1e1

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

Examples/reflection-server/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: "reflection-server",
2222
platforms: [.macOS(.v15)],
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/grpc/grpc-swift-extras.git", exact: "1.0.0-beta.3"),
2828
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
2929
],
@@ -39,6 +39,9 @@ let package = Package(
3939
],
4040
resources: [
4141
.copy("DescriptorSets")
42+
],
43+
plugins: [
44+
.plugin(name: "GRPCProtobufGenerator", package: "grpc-swift-protobuf")
4245
]
4346
)
4447
]

Examples/route-guide/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: "route-guide",
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: [
@@ -37,6 +37,9 @@ let package = Package(
3737
],
3838
resources: [
3939
.copy("route_guide_db.json")
40+
],
41+
plugins: [
42+
.plugin(name: "GRPCProtobufGenerator", package: "grpc-swift-protobuf")
4043
]
4144
)
4245
]

0 commit comments

Comments
 (0)