Browse Source

Reorganize examples, make dependency on swift-proto 0.9.24 explicit in third_party/RUNME.sh

Tim Burks 9 years ago
parent
commit
ddd1ddb430
35 changed files with 182 additions and 160 deletions
  1. 0 0
      Examples/Echo/EchoProvider.swift
  2. 0 0
      Examples/Echo/Generated/echo.client.pb.swift
  3. 0 0
      Examples/Echo/Generated/echo.pb.swift
  4. 0 0
      Examples/Echo/Generated/echo.server.pb.swift
  5. 0 0
      Examples/Echo/SwiftPM/Makefile
  6. 0 0
      Examples/Echo/SwiftPM/Package.swift
  7. 0 0
      Examples/Echo/SwiftPM/Sources/EchoProvider.swift
  8. 0 0
      Examples/Echo/SwiftPM/Sources/echo.client.pb.swift
  9. 0 0
      Examples/Echo/SwiftPM/Sources/echo.pb.swift
  10. 0 0
      Examples/Echo/SwiftPM/Sources/echo.server.pb.swift
  11. 0 0
      Examples/Echo/SwiftPM/Sources/main.swift
  12. 0 0
      Examples/Echo/SwiftPM/ssl.crt
  13. 0 0
      Examples/Echo/SwiftPM/ssl.key
  14. 84 84
      Examples/Echo/Xcode/Echo.xcodeproj/project.pbxproj
  15. 0 0
      Examples/Echo/Xcode/Echo/AppDelegate.swift
  16. 0 0
      Examples/Echo/Xcode/Echo/Assets.xcassets/AppIcon.appiconset/Contents.json
  17. 0 0
      Examples/Echo/Xcode/Echo/Base.lproj/MainMenu.xib
  18. 0 0
      Examples/Echo/Xcode/Echo/EchoViewController.swift
  19. 0 0
      Examples/Echo/Xcode/Echo/Info.plist
  20. 0 0
      Examples/Echo/Xcode/Echo/ssl.crt
  21. 0 0
      Examples/Echo/Xcode/Echo/ssl.key
  22. 2 6
      Examples/README.md
  23. 0 0
      Examples/Simple/SwiftPM/Makefile
  24. 0 0
      Examples/Simple/SwiftPM/Package.swift
  25. 0 0
      Examples/Simple/SwiftPM/README.md
  26. 0 0
      Examples/Simple/SwiftPM/main.swift
  27. 2 2
      Examples/Simple/Xcode/README.md
  28. 93 67
      Examples/Simple/Xcode/Simple.xcodeproj/project.pbxproj
  29. 0 0
      Examples/Simple/Xcode/Simple/AppDelegate.swift
  30. 0 0
      Examples/Simple/Xcode/Simple/Assets.xcassets/AppIcon.appiconset/Contents.json
  31. 0 0
      Examples/Simple/Xcode/Simple/Base.lproj/Document.xib
  32. 0 0
      Examples/Simple/Xcode/Simple/Base.lproj/MainMenu.xib
  33. 0 0
      Examples/Simple/Xcode/Simple/Document.swift
  34. 0 0
      Examples/Simple/Xcode/Simple/Info.plist
  35. 1 1
      third_party/RUNME.sh

+ 0 - 0
Examples/Echo/Swift/EchoProvider.swift → Examples/Echo/EchoProvider.swift


+ 0 - 0
Examples/Echo/Swift/Generated/echo.client.pb.swift → Examples/Echo/Generated/echo.client.pb.swift


+ 0 - 0
Examples/Echo/Swift/Generated/echo.pb.swift → Examples/Echo/Generated/echo.pb.swift


+ 0 - 0
Examples/Echo/Swift/Generated/echo.server.pb.swift → Examples/Echo/Generated/echo.server.pb.swift


+ 0 - 0
Examples/Echo/Swift/SwiftPM/Makefile → Examples/Echo/SwiftPM/Makefile


+ 0 - 0
Examples/Echo/Swift/SwiftPM/Package.swift → Examples/Echo/SwiftPM/Package.swift


+ 0 - 0
Examples/Echo/Swift/SwiftPM/Sources/EchoProvider.swift → Examples/Echo/SwiftPM/Sources/EchoProvider.swift


+ 0 - 0
Examples/Echo/Swift/SwiftPM/Sources/echo.client.pb.swift → Examples/Echo/SwiftPM/Sources/echo.client.pb.swift


+ 0 - 0
Examples/Echo/Swift/SwiftPM/Sources/echo.pb.swift → Examples/Echo/SwiftPM/Sources/echo.pb.swift


+ 0 - 0
Examples/Echo/Swift/SwiftPM/Sources/echo.server.pb.swift → Examples/Echo/SwiftPM/Sources/echo.server.pb.swift


+ 0 - 0
Examples/Echo/Swift/SwiftPM/Sources/main.swift → Examples/Echo/SwiftPM/Sources/main.swift


+ 0 - 0
Examples/Echo/Swift/SwiftPM/ssl.crt → Examples/Echo/SwiftPM/ssl.crt


+ 0 - 0
Examples/Echo/Swift/SwiftPM/ssl.key → Examples/Echo/SwiftPM/ssl.key


+ 84 - 84
Examples/Echo/Swift/Xcode/Echo.xcodeproj/project.pbxproj → Examples/Echo/Xcode/Echo.xcodeproj/project.pbxproj

@@ -20,41 +20,6 @@
 /* End PBXBuildFile section */
 
 /* Begin PBXContainerItemProxy section */
-		D36C3EFF1E145A2200BF4EB3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D36C3EF81E145A2200BF4EB3 /* SwiftProtobufRuntime.xcodeproj */;
-			proxyType = 2;
-			remoteGlobalIDString = "_____Product_Protobuf_macOS";
-			remoteInfo = SwiftProtobuf_macOS;
-		};
-		D36C3F011E145A2200BF4EB3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D36C3EF81E145A2200BF4EB3 /* SwiftProtobufRuntime.xcodeproj */;
-			proxyType = 2;
-			remoteGlobalIDString = "_____Product_ProtobufTestSuite_macOS";
-			remoteInfo = SwiftProtobufTestSuite_macOS;
-		};
-		D36C3F031E145A2200BF4EB3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D36C3EF81E145A2200BF4EB3 /* SwiftProtobufRuntime.xcodeproj */;
-			proxyType = 2;
-			remoteGlobalIDString = "_____Product_Protobuf_iOS";
-			remoteInfo = SwiftProtobuf_iOS;
-		};
-		D36C3F051E145A2200BF4EB3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D36C3EF81E145A2200BF4EB3 /* SwiftProtobufRuntime.xcodeproj */;
-			proxyType = 2;
-			remoteGlobalIDString = "_____Product_ProtobufTestSuite_iOS";
-			remoteInfo = SwiftProtobufTestSuite_iOS;
-		};
-		D36C3F071E145A3100BF4EB3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D36C3EF81E145A2200BF4EB3 /* SwiftProtobufRuntime.xcodeproj */;
-			proxyType = 1;
-			remoteGlobalIDString = "______Target_Protobuf";
-			remoteInfo = SwiftProtobuf_macOS;
-		};
 		D38E002E1E315D5900CE7B16 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = D38E00271E315D5900CE7B16 /* SwiftGRPC.xcodeproj */;
@@ -104,6 +69,41 @@
 			remoteGlobalIDString = OBJ_1364;
 			remoteInfo = gRPC;
 		};
+		D3F7791D1E380C140002CB64 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = D3F779161E380C140002CB64 /* SwiftProtobufRuntime.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = "_____Product_Protobuf_macOS";
+			remoteInfo = SwiftProtobuf_macOS;
+		};
+		D3F7791F1E380C140002CB64 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = D3F779161E380C140002CB64 /* SwiftProtobufRuntime.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = "_____Product_ProtobufTestSuite_macOS";
+			remoteInfo = SwiftProtobufTestSuite_macOS;
+		};
+		D3F779211E380C140002CB64 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = D3F779161E380C140002CB64 /* SwiftProtobufRuntime.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = "_____Product_Protobuf_iOS";
+			remoteInfo = SwiftProtobuf_iOS;
+		};
+		D3F779231E380C140002CB64 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = D3F779161E380C140002CB64 /* SwiftProtobufRuntime.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = "_____Product_ProtobufTestSuite_iOS";
+			remoteInfo = SwiftProtobufTestSuite_iOS;
+		};
+		D3F779251E380C310002CB64 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = D3F779161E380C140002CB64 /* SwiftProtobufRuntime.xcodeproj */;
+			proxyType = 1;
+			remoteGlobalIDString = "______Target_Protobuf";
+			remoteInfo = SwiftProtobuf_macOS;
+		};
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXFileReference section */
@@ -117,10 +117,10 @@
 		D35C9FB01D74B079000443CD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
 		D35C9FB21D74B079000443CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		D35C9FC71D74B0C1000443CD /* EchoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EchoViewController.swift; sourceTree = "<group>"; };
-		D36C3EF81E145A2200BF4EB3 /* SwiftProtobufRuntime.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SwiftProtobufRuntime.xcodeproj; path = "../../../../third_party/swift-protobuf/SwiftProtobufRuntime.xcodeproj"; sourceTree = "<group>"; };
-		D38E00271E315D5900CE7B16 /* SwiftGRPC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SwiftGRPC.xcodeproj; path = ../../../../SwiftGRPC.xcodeproj; sourceTree = "<group>"; };
+		D38E00271E315D5900CE7B16 /* SwiftGRPC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SwiftGRPC.xcodeproj; path = ../../../SwiftGRPC.xcodeproj; sourceTree = "<group>"; };
 		D3971E201D89132E001A0B3F /* ssl.key */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ssl.key; sourceTree = "<group>"; };
 		D3BFE28B1D87A45D00A648D8 /* ssl.crt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ssl.crt; sourceTree = "<group>"; };
+		D3F779161E380C140002CB64 /* SwiftProtobufRuntime.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SwiftProtobufRuntime.xcodeproj; path = "../../../third_party/swift-protobuf/SwiftProtobufRuntime.xcodeproj"; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
@@ -147,8 +147,8 @@
 		D35C9F9F1D74B079000443CD = {
 			isa = PBXGroup;
 			children = (
+				D3F779161E380C140002CB64 /* SwiftProtobufRuntime.xcodeproj */,
 				D38E00271E315D5900CE7B16 /* SwiftGRPC.xcodeproj */,
-				D36C3EF81E145A2200BF4EB3 /* SwiftProtobufRuntime.xcodeproj */,
 				D35C9FAA1D74B079000443CD /* Echo */,
 				D35358231E219971007FA223 /* Generated */,
 				D35358241E219980007FA223 /* EchoProvider.swift */,
@@ -178,24 +178,24 @@
 			path = Echo;
 			sourceTree = "<group>";
 		};
-		D36C3EF91E145A2200BF4EB3 /* Products */ = {
+		D38E00281E315D5900CE7B16 /* Products */ = {
 			isa = PBXGroup;
 			children = (
-				D36C3F001E145A2200BF4EB3 /* SwiftProtobuf.framework */,
-				D36C3F021E145A2200BF4EB3 /* SwiftProtobufTestSuite_macOS.xctest */,
-				D36C3F041E145A2200BF4EB3 /* SwiftProtobuf.framework */,
-				D36C3F061E145A2200BF4EB3 /* SwiftProtobufTestSuite_iOS.xctest */,
+				D38E002F1E315D5900CE7B16 /* BoringSSL.framework */,
+				D38E00311E315D5900CE7B16 /* CgRPC.framework */,
+				D38E00331E315D5900CE7B16 /* gRPC.framework */,
+				D38E00351E315D5900CE7B16 /* gRPCTests.xctest */,
 			);
 			name = Products;
 			sourceTree = "<group>";
 		};
-		D38E00281E315D5900CE7B16 /* Products */ = {
+		D3F779171E380C140002CB64 /* Products */ = {
 			isa = PBXGroup;
 			children = (
-				D38E002F1E315D5900CE7B16 /* BoringSSL.framework */,
-				D38E00311E315D5900CE7B16 /* CgRPC.framework */,
-				D38E00331E315D5900CE7B16 /* gRPC.framework */,
-				D38E00351E315D5900CE7B16 /* gRPCTests.xctest */,
+				D3F7791E1E380C140002CB64 /* SwiftProtobuf.framework */,
+				D3F779201E380C140002CB64 /* SwiftProtobufTestSuite_macOS.xctest */,
+				D3F779221E380C140002CB64 /* SwiftProtobuf.framework */,
+				D3F779241E380C140002CB64 /* SwiftProtobufTestSuite_iOS.xctest */,
 			);
 			name = Products;
 			sourceTree = "<group>";
@@ -214,10 +214,10 @@
 			buildRules = (
 			);
 			dependencies = (
+				D3F779261E380C310002CB64 /* PBXTargetDependency */,
 				D38E00371E315DB700CE7B16 /* PBXTargetDependency */,
 				D38E00391E315DB700CE7B16 /* PBXTargetDependency */,
 				D38E003B1E315DB700CE7B16 /* PBXTargetDependency */,
-				D36C3F081E145A3100BF4EB3 /* PBXTargetDependency */,
 			);
 			name = Echo;
 			productName = Echo;
@@ -258,8 +258,8 @@
 					ProjectRef = D38E00271E315D5900CE7B16 /* SwiftGRPC.xcodeproj */;
 				},
 				{
-					ProductGroup = D36C3EF91E145A2200BF4EB3 /* Products */;
-					ProjectRef = D36C3EF81E145A2200BF4EB3 /* SwiftProtobufRuntime.xcodeproj */;
+					ProductGroup = D3F779171E380C140002CB64 /* Products */;
+					ProjectRef = D3F779161E380C140002CB64 /* SwiftProtobufRuntime.xcodeproj */;
 				},
 			);
 			projectRoot = "";
@@ -270,34 +270,6 @@
 /* End PBXProject section */
 
 /* Begin PBXReferenceProxy section */
-		D36C3F001E145A2200BF4EB3 /* SwiftProtobuf.framework */ = {
-			isa = PBXReferenceProxy;
-			fileType = wrapper.framework;
-			path = SwiftProtobuf.framework;
-			remoteRef = D36C3EFF1E145A2200BF4EB3 /* PBXContainerItemProxy */;
-			sourceTree = BUILT_PRODUCTS_DIR;
-		};
-		D36C3F021E145A2200BF4EB3 /* SwiftProtobufTestSuite_macOS.xctest */ = {
-			isa = PBXReferenceProxy;
-			fileType = wrapper.cfbundle;
-			path = SwiftProtobufTestSuite_macOS.xctest;
-			remoteRef = D36C3F011E145A2200BF4EB3 /* PBXContainerItemProxy */;
-			sourceTree = BUILT_PRODUCTS_DIR;
-		};
-		D36C3F041E145A2200BF4EB3 /* SwiftProtobuf.framework */ = {
-			isa = PBXReferenceProxy;
-			fileType = wrapper.framework;
-			path = SwiftProtobuf.framework;
-			remoteRef = D36C3F031E145A2200BF4EB3 /* PBXContainerItemProxy */;
-			sourceTree = BUILT_PRODUCTS_DIR;
-		};
-		D36C3F061E145A2200BF4EB3 /* SwiftProtobufTestSuite_iOS.xctest */ = {
-			isa = PBXReferenceProxy;
-			fileType = wrapper.cfbundle;
-			path = SwiftProtobufTestSuite_iOS.xctest;
-			remoteRef = D36C3F051E145A2200BF4EB3 /* PBXContainerItemProxy */;
-			sourceTree = BUILT_PRODUCTS_DIR;
-		};
 		D38E002F1E315D5900CE7B16 /* BoringSSL.framework */ = {
 			isa = PBXReferenceProxy;
 			fileType = wrapper.framework;
@@ -326,6 +298,34 @@
 			remoteRef = D38E00341E315D5900CE7B16 /* PBXContainerItemProxy */;
 			sourceTree = BUILT_PRODUCTS_DIR;
 		};
+		D3F7791E1E380C140002CB64 /* SwiftProtobuf.framework */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.framework;
+			path = SwiftProtobuf.framework;
+			remoteRef = D3F7791D1E380C140002CB64 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		D3F779201E380C140002CB64 /* SwiftProtobufTestSuite_macOS.xctest */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.cfbundle;
+			path = SwiftProtobufTestSuite_macOS.xctest;
+			remoteRef = D3F7791F1E380C140002CB64 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		D3F779221E380C140002CB64 /* SwiftProtobuf.framework */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.framework;
+			path = SwiftProtobuf.framework;
+			remoteRef = D3F779211E380C140002CB64 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		D3F779241E380C140002CB64 /* SwiftProtobufTestSuite_iOS.xctest */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.cfbundle;
+			path = SwiftProtobufTestSuite_iOS.xctest;
+			remoteRef = D3F779231E380C140002CB64 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
 /* End PBXReferenceProxy section */
 
 /* Begin PBXResourcesBuildPhase section */
@@ -359,11 +359,6 @@
 /* End PBXSourcesBuildPhase section */
 
 /* Begin PBXTargetDependency section */
-		D36C3F081E145A3100BF4EB3 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = SwiftProtobuf_macOS;
-			targetProxy = D36C3F071E145A3100BF4EB3 /* PBXContainerItemProxy */;
-		};
 		D38E00371E315DB700CE7B16 /* PBXTargetDependency */ = {
 			isa = PBXTargetDependency;
 			name = BoringSSL;
@@ -379,6 +374,11 @@
 			name = gRPC;
 			targetProxy = D38E003A1E315DB700CE7B16 /* PBXContainerItemProxy */;
 		};
+		D3F779261E380C310002CB64 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			name = SwiftProtobuf_macOS;
+			targetProxy = D3F779251E380C310002CB64 /* PBXContainerItemProxy */;
+		};
 /* End PBXTargetDependency section */
 
 /* Begin PBXVariantGroup section */

+ 0 - 0
Examples/Echo/Swift/Xcode/Echo/AppDelegate.swift → Examples/Echo/Xcode/Echo/AppDelegate.swift


+ 0 - 0
Examples/Echo/Swift/Xcode/Echo/Assets.xcassets/AppIcon.appiconset/Contents.json → Examples/Echo/Xcode/Echo/Assets.xcassets/AppIcon.appiconset/Contents.json


+ 0 - 0
Examples/Echo/Swift/Xcode/Echo/Base.lproj/MainMenu.xib → Examples/Echo/Xcode/Echo/Base.lproj/MainMenu.xib


+ 0 - 0
Examples/Echo/Swift/Xcode/Echo/EchoViewController.swift → Examples/Echo/Xcode/Echo/EchoViewController.swift


+ 0 - 0
Examples/Echo/Swift/Xcode/Echo/Info.plist → Examples/Echo/Xcode/Echo/Info.plist


+ 0 - 0
Examples/Echo/Swift/Xcode/Echo/ssl.crt → Examples/Echo/Xcode/Echo/ssl.crt


+ 0 - 0
Examples/Echo/Swift/Xcode/Echo/ssl.key → Examples/Echo/Xcode/Echo/ssl.key


+ 2 - 6
Examples/README.md

@@ -15,10 +15,6 @@ for protoc.
 ## Low-level demonstrations
 
 [Simple](Simple)
-This is a simple command line tool, built with the Swift Package Manager, that 
-implements a simple client and server using low-level gRPC APIs.
-
-[Sessions](Sessions)
-This is a Mac app that also implements a simple client and server using low-level
-gRPC APIs.
+This sample demonstrates the low-level gRPC APIs with clients and servers
+that can be built with Xcode or the Swift Package Manager.
  

+ 0 - 0
Examples/Simple/Makefile → Examples/Simple/SwiftPM/Makefile


+ 0 - 0
Examples/Simple/Package.swift → Examples/Simple/SwiftPM/Package.swift


+ 0 - 0
Examples/Simple/README.md → Examples/Simple/SwiftPM/README.md


+ 0 - 0
Examples/Simple/main.swift → Examples/Simple/SwiftPM/main.swift


+ 2 - 2
Examples/Sessions/README.md → Examples/Simple/Xcode/README.md

@@ -1,11 +1,11 @@
-# Sessions, a Swift gRPC Sample App
+# Swift gRPC Sample App
 
 This sample illustrates the use of low-level Swift gRPC APIs in
 clients and servers. Please note that typical gRPC applications
 would not use these APIs but would use code generated using the
 Swift gRPC plugin for protoc.
 
-The Sessions Xcode project contains a Mac app that can be used to 
+The Simple Xcode project contains a Mac app that can be used to 
 instantiate and run local gRPC clients and servers. It depends
 on the gRPC Xcode project, which requires a local build of the
 gRPC Core C library. To build that, please run "make" in the

+ 93 - 67
Examples/Sessions/Sessions.xcodeproj/project.pbxproj → Examples/Simple/Xcode/Simple.xcodeproj/project.pbxproj

@@ -12,50 +12,69 @@
 		D30D73601D565E4400F90CCB /* Document.xib in Resources */ = {isa = PBXBuildFile; fileRef = D30D735E1D565E4400F90CCB /* Document.xib */; };
 		D30D73621D565E4400F90CCB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D30D73611D565E4400F90CCB /* Assets.xcassets */; };
 		D30D73651D565E4400F90CCB /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = D30D73631D565E4400F90CCB /* MainMenu.xib */; };
-		D386CA7F1D56895F0053605C /* gRPC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D386CA7C1D56894D0053605C /* gRPC.framework */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXContainerItemProxy section */
-		D35C9F821D74AF8E000443CD /* PBXContainerItemProxy */ = {
+		D3736FED1E37F1C9009F51BB /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
-			containerPortal = D35C9F7D1D74AF8E000443CD /* QuickProto.xcodeproj */;
+			containerPortal = D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */;
 			proxyType = 2;
-			remoteGlobalIDString = D35C9F341D74A1C0000443CD;
-			remoteInfo = QuickProto;
+			remoteGlobalIDString = OBJ_776;
+			remoteInfo = BoringSSL;
 		};
-		D35C9F841D74AF8E000443CD /* PBXContainerItemProxy */ = {
+		D3736FEF1E37F1C9009F51BB /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
-			containerPortal = D35C9F7D1D74AF8E000443CD /* QuickProto.xcodeproj */;
+			containerPortal = D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */;
 			proxyType = 2;
-			remoteGlobalIDString = D35C9F691D74A4AB000443CD;
-			remoteInfo = QuickDemo;
+			remoteGlobalIDString = OBJ_777;
+			remoteInfo = CgRPC;
 		};
-		D386CA7B1D56894D0053605C /* PBXContainerItemProxy */ = {
+		D3736FF11E37F1C9009F51BB /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
-			containerPortal = D386CA771D56894D0053605C /* gRPC.xcodeproj */;
+			containerPortal = D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */;
 			proxyType = 2;
-			remoteGlobalIDString = D3BD37331D5126380005E698;
+			remoteGlobalIDString = OBJ_778;
 			remoteInfo = gRPC;
 		};
-		D386CA7D1D5689580053605C /* PBXContainerItemProxy */ = {
+		D3736FF31E37F1C9009F51BB /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
-			containerPortal = D386CA771D56894D0053605C /* gRPC.xcodeproj */;
+			containerPortal = D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = OBJ_779;
+			remoteInfo = gRPCTests;
+		};
+		D3736FF51E37F33D009F51BB /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */;
 			proxyType = 1;
-			remoteGlobalIDString = D3BD37321D5126380005E698;
+			remoteGlobalIDString = OBJ_780;
+			remoteInfo = BoringSSL;
+		};
+		D3736FF71E37F33D009F51BB /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */;
+			proxyType = 1;
+			remoteGlobalIDString = OBJ_1084;
+			remoteInfo = CgRPC;
+		};
+		D3736FF91E37F33D009F51BB /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */;
+			proxyType = 1;
+			remoteGlobalIDString = OBJ_1364;
 			remoteInfo = gRPC;
 		};
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXFileReference section */
-		D30D73571D565E4400F90CCB /* Sessions.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sessions.app; sourceTree = BUILT_PRODUCTS_DIR; };
+		D30D73571D565E4400F90CCB /* Simple.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Simple.app; sourceTree = BUILT_PRODUCTS_DIR; };
 		D30D735A1D565E4400F90CCB /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
 		D30D735C1D565E4400F90CCB /* Document.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Document.swift; sourceTree = "<group>"; };
 		D30D735F1D565E4400F90CCB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Document.xib; sourceTree = "<group>"; };
 		D30D73611D565E4400F90CCB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
 		D30D73641D565E4400F90CCB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
 		D30D73661D565E4400F90CCB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		D35C9F7D1D74AF8E000443CD /* QuickProto.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = QuickProto.xcodeproj; path = ../../QuickProto/QuickProto.xcodeproj; sourceTree = "<group>"; };
-		D386CA771D56894D0053605C /* gRPC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = gRPC.xcodeproj; path = ../../gRPC.xcodeproj; sourceTree = "<group>"; };
+		D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SwiftGRPC.xcodeproj; path = ../../../SwiftGRPC.xcodeproj; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
@@ -63,7 +82,6 @@
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				D386CA7F1D56895F0053605C /* gRPC.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -73,9 +91,8 @@
 		D30D734E1D565E4400F90CCB = {
 			isa = PBXGroup;
 			children = (
-				D35C9F7D1D74AF8E000443CD /* QuickProto.xcodeproj */,
-				D386CA771D56894D0053605C /* gRPC.xcodeproj */,
-				D30D73591D565E4400F90CCB /* Sessions */,
+				D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */,
+				D30D73591D565E4400F90CCB /* Simple */,
 				D30D73581D565E4400F90CCB /* Products */,
 			);
 			sourceTree = "<group>";
@@ -83,12 +100,12 @@
 		D30D73581D565E4400F90CCB /* Products */ = {
 			isa = PBXGroup;
 			children = (
-				D30D73571D565E4400F90CCB /* Sessions.app */,
+				D30D73571D565E4400F90CCB /* Simple.app */,
 			);
 			name = Products;
 			sourceTree = "<group>";
 		};
-		D30D73591D565E4400F90CCB /* Sessions */ = {
+		D30D73591D565E4400F90CCB /* Simple */ = {
 			isa = PBXGroup;
 			children = (
 				D30D735A1D565E4400F90CCB /* AppDelegate.swift */,
@@ -98,22 +115,16 @@
 				D30D73631D565E4400F90CCB /* MainMenu.xib */,
 				D30D73661D565E4400F90CCB /* Info.plist */,
 			);
-			path = Sessions;
+			path = Simple;
 			sourceTree = "<group>";
 		};
-		D35C9F7E1D74AF8E000443CD /* Products */ = {
+		D3736FE71E37F1C9009F51BB /* Products */ = {
 			isa = PBXGroup;
 			children = (
-				D35C9F831D74AF8E000443CD /* QuickProto.framework */,
-				D35C9F851D74AF8E000443CD /* QuickDemo */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		D386CA781D56894D0053605C /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				D386CA7C1D56894D0053605C /* gRPC.framework */,
+				D3736FEE1E37F1C9009F51BB /* BoringSSL.framework */,
+				D3736FF01E37F1C9009F51BB /* CgRPC.framework */,
+				D3736FF21E37F1C9009F51BB /* gRPC.framework */,
+				D3736FF41E37F1C9009F51BB /* gRPCTests.xctest */,
 			);
 			name = Products;
 			sourceTree = "<group>";
@@ -121,9 +132,9 @@
 /* End PBXGroup section */
 
 /* Begin PBXNativeTarget section */
-		D30D73561D565E4400F90CCB /* Sessions */ = {
+		D30D73561D565E4400F90CCB /* Simple */ = {
 			isa = PBXNativeTarget;
-			buildConfigurationList = D30D73691D565E4400F90CCB /* Build configuration list for PBXNativeTarget "Sessions" */;
+			buildConfigurationList = D30D73691D565E4400F90CCB /* Build configuration list for PBXNativeTarget "Simple" */;
 			buildPhases = (
 				D30D73531D565E4400F90CCB /* Sources */,
 				D30D73541D565E4400F90CCB /* Frameworks */,
@@ -132,11 +143,13 @@
 			buildRules = (
 			);
 			dependencies = (
-				D386CA7E1D5689580053605C /* PBXTargetDependency */,
+				D3736FF61E37F33D009F51BB /* PBXTargetDependency */,
+				D3736FF81E37F33D009F51BB /* PBXTargetDependency */,
+				D3736FFA1E37F33D009F51BB /* PBXTargetDependency */,
 			);
-			name = Sessions;
-			productName = Sessions;
-			productReference = D30D73571D565E4400F90CCB /* Sessions.app */;
+			name = Simple;
+			productName = Simple;
+			productReference = D30D73571D565E4400F90CCB /* Simple.app */;
 			productType = "com.apple.product-type.application";
 		};
 /* End PBXNativeTarget section */
@@ -157,7 +170,7 @@
 					};
 				};
 			};
-			buildConfigurationList = D30D73521D565E4400F90CCB /* Build configuration list for PBXProject "Sessions" */;
+			buildConfigurationList = D30D73521D565E4400F90CCB /* Build configuration list for PBXProject "Simple" */;
 			compatibilityVersion = "Xcode 3.2";
 			developmentRegion = English;
 			hasScannedForEncodings = 0;
@@ -170,41 +183,44 @@
 			projectDirPath = "";
 			projectReferences = (
 				{
-					ProductGroup = D386CA781D56894D0053605C /* Products */;
-					ProjectRef = D386CA771D56894D0053605C /* gRPC.xcodeproj */;
-				},
-				{
-					ProductGroup = D35C9F7E1D74AF8E000443CD /* Products */;
-					ProjectRef = D35C9F7D1D74AF8E000443CD /* QuickProto.xcodeproj */;
+					ProductGroup = D3736FE71E37F1C9009F51BB /* Products */;
+					ProjectRef = D3736FE61E37F1C9009F51BB /* SwiftGRPC.xcodeproj */;
 				},
 			);
 			projectRoot = "";
 			targets = (
-				D30D73561D565E4400F90CCB /* Sessions */,
+				D30D73561D565E4400F90CCB /* Simple */,
 			);
 		};
 /* End PBXProject section */
 
 /* Begin PBXReferenceProxy section */
-		D35C9F831D74AF8E000443CD /* QuickProto.framework */ = {
+		D3736FEE1E37F1C9009F51BB /* BoringSSL.framework */ = {
 			isa = PBXReferenceProxy;
 			fileType = wrapper.framework;
-			path = QuickProto.framework;
-			remoteRef = D35C9F821D74AF8E000443CD /* PBXContainerItemProxy */;
+			path = BoringSSL.framework;
+			remoteRef = D3736FED1E37F1C9009F51BB /* PBXContainerItemProxy */;
 			sourceTree = BUILT_PRODUCTS_DIR;
 		};
-		D35C9F851D74AF8E000443CD /* QuickDemo */ = {
+		D3736FF01E37F1C9009F51BB /* CgRPC.framework */ = {
 			isa = PBXReferenceProxy;
-			fileType = "compiled.mach-o.executable";
-			path = QuickDemo;
-			remoteRef = D35C9F841D74AF8E000443CD /* PBXContainerItemProxy */;
+			fileType = wrapper.framework;
+			path = CgRPC.framework;
+			remoteRef = D3736FEF1E37F1C9009F51BB /* PBXContainerItemProxy */;
 			sourceTree = BUILT_PRODUCTS_DIR;
 		};
-		D386CA7C1D56894D0053605C /* gRPC.framework */ = {
+		D3736FF21E37F1C9009F51BB /* gRPC.framework */ = {
 			isa = PBXReferenceProxy;
 			fileType = wrapper.framework;
 			path = gRPC.framework;
-			remoteRef = D386CA7B1D56894D0053605C /* PBXContainerItemProxy */;
+			remoteRef = D3736FF11E37F1C9009F51BB /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		D3736FF41E37F1C9009F51BB /* gRPCTests.xctest */ = {
+			isa = PBXReferenceProxy;
+			fileType = file;
+			path = gRPCTests.xctest;
+			remoteRef = D3736FF31E37F1C9009F51BB /* PBXContainerItemProxy */;
 			sourceTree = BUILT_PRODUCTS_DIR;
 		};
 /* End PBXReferenceProxy section */
@@ -235,10 +251,20 @@
 /* End PBXSourcesBuildPhase section */
 
 /* Begin PBXTargetDependency section */
-		D386CA7E1D5689580053605C /* PBXTargetDependency */ = {
+		D3736FF61E37F33D009F51BB /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			name = BoringSSL;
+			targetProxy = D3736FF51E37F33D009F51BB /* PBXContainerItemProxy */;
+		};
+		D3736FF81E37F33D009F51BB /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			name = CgRPC;
+			targetProxy = D3736FF71E37F33D009F51BB /* PBXContainerItemProxy */;
+		};
+		D3736FFA1E37F33D009F51BB /* PBXTargetDependency */ = {
 			isa = PBXTargetDependency;
 			name = gRPC;
-			targetProxy = D386CA7D1D5689580053605C /* PBXContainerItemProxy */;
+			targetProxy = D3736FF91E37F33D009F51BB /* PBXContainerItemProxy */;
 		};
 /* End PBXTargetDependency section */
 
@@ -353,9 +379,9 @@
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				COMBINE_HIDPI_IMAGES = YES;
-				INFOPLIST_FILE = Sessions/Info.plist;
+				INFOPLIST_FILE = Simple/Info.plist;
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.google.Sessions;
+				PRODUCT_BUNDLE_IDENTIFIER = com.google.Simple;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_VERSION = 3.0;
 			};
@@ -366,9 +392,9 @@
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				COMBINE_HIDPI_IMAGES = YES;
-				INFOPLIST_FILE = Sessions/Info.plist;
+				INFOPLIST_FILE = Simple/Info.plist;
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.google.Sessions;
+				PRODUCT_BUNDLE_IDENTIFIER = com.google.Simple;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_VERSION = 3.0;
 			};
@@ -377,7 +403,7 @@
 /* End XCBuildConfiguration section */
 
 /* Begin XCConfigurationList section */
-		D30D73521D565E4400F90CCB /* Build configuration list for PBXProject "Sessions" */ = {
+		D30D73521D565E4400F90CCB /* Build configuration list for PBXProject "Simple" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (
 				D30D73671D565E4400F90CCB /* Debug */,
@@ -386,7 +412,7 @@
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 		};
-		D30D73691D565E4400F90CCB /* Build configuration list for PBXNativeTarget "Sessions" */ = {
+		D30D73691D565E4400F90CCB /* Build configuration list for PBXNativeTarget "Simple" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (
 				D30D736A1D565E4400F90CCB /* Debug */,

+ 0 - 0
Examples/Sessions/Sessions/AppDelegate.swift → Examples/Simple/Xcode/Simple/AppDelegate.swift


+ 0 - 0
Examples/Sessions/Sessions/Assets.xcassets/AppIcon.appiconset/Contents.json → Examples/Simple/Xcode/Simple/Assets.xcassets/AppIcon.appiconset/Contents.json


+ 0 - 0
Examples/Sessions/Sessions/Base.lproj/Document.xib → Examples/Simple/Xcode/Simple/Base.lproj/Document.xib


+ 0 - 0
Examples/Sessions/Sessions/Base.lproj/MainMenu.xib → Examples/Simple/Xcode/Simple/Base.lproj/MainMenu.xib


+ 0 - 0
Examples/Sessions/Sessions/Document.swift → Examples/Simple/Xcode/Simple/Document.swift


+ 0 - 0
Examples/Sessions/Sessions/Info.plist → Examples/Simple/Xcode/Simple/Info.plist


+ 1 - 1
third_party/RUNME.sh

@@ -1,5 +1,5 @@
 #!/bin/sh
 
+git clone -b 0.9.24 https://github.com/apple/swift-protobuf.git
 git clone https://github.com/grpc/grpc.git
-git clone https://github.com/apple/swift-protobuf.git