Skip to content

Commit 9b7a731

Browse files
authored
Merge pull request #306 from grpc/MrMage-patch-1
Tweak Echo Readme
2 parents 12827bd + 02b8fc5 commit 9b7a731

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

Examples/EchoXcode/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
The Echo Xcode project contains a Mac app that can be used to
44
instantiate and run local gRPC clients and servers. It depends
55
on the gRPC Xcode project, which requires a local build of the
6-
gRPC Core C library. To build that, please run "make" in the
6+
gRPC Core C library. To build that, please run `make` in the
77
root of your gRPC distribution. Next use Xcode's "Add Files..."
88
command to add the SwiftGRPC.xcodeproj to your project and
9-
then add the gRPC, CgRPC, BoringSSL, and SwiftProtobuf
10-
libraries to the target dependencies of "Echo".
9+
then add the SwiftGRPC, CgRPC, BoringSSL, and SwiftProtobuf
10+
libraries to the "Linked Frameworks and Libraries" build phase of "Echo".

Examples/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11

22
# Examples
33

4-
To build the Xcode examples, make sure required third party libraries
5-
(specifically `swift-protobuf`) are retrieved by running the script in the
6-
`third_party` toplevel directory:
7-
8-
$ cd third_party
9-
$ sh RUNME.sh
4+
To build the Xcode examples, you will need to add the `SwiftGRPC` project (and possibly the `SwiftProtobuf` project from https://github.com/apple/swift-protobuf as well) to the corresponding Xcode projects. This is explained in more detail in the individual directories' `README.md` files.
105

116
## Swift gRPC generated code examples
127

@@ -28,4 +23,3 @@ Samples that call Google gRPC APIs are in the [Google](Google) directory.
2823
[Simple](Simple)
2924
The Simple sample demonstrates the low-level gRPC APIs with clients and servers
3025
that can be built with Xcode or the Swift Package Manager.
31-

Examples/SimpleXcode/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Swift gRPC plugin for protoc.
88
The Simple Xcode project contains a Mac app that can be used to
99
instantiate and run local gRPC clients and servers. It depends
1010
on the gRPC Xcode project, which requires a local build of the
11-
gRPC Core C library. To build that, please run "make" in the
11+
gRPC Core C library. To build that, please run `make` in the
1212
root of your gRPC distribution. Next use Xcode's "Add Files..."
1313
command to add the SwiftGRPC.xcodeproj to your project and
14-
then add the gRPC, CgRPC, and BoringSSL libraries to the target
15-
dependencies of "Simple".
14+
then add the SwiftGRPC, CgRPC, BoringSSL and SwiftProtobuf libraries to the
15+
"Linked Frameworks and Libraries" build phase of "Simple".
1616

1717
When running the app, use the "New" menu option to create new
1818
gRPC sessions. Configure each session using the host and port

0 commit comments

Comments
 (0)