From d168f50e4e8a874e587c7ab79c102636b92438fd Mon Sep 17 00:00:00 2001 From: Jorge Canizales Date: Mon, 23 Mar 2015 23:08:27 -0700 Subject: [PATCH] Adds podspec for the generated files --- src/objective-c/examples/Sample/Podfile | 1 + .../Sample/RemoteTestClient/RemoteTest.podspec | 17 +++++++++++++++++ .../Sample/RouteGuideClient/Route_guide.podspec | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 src/objective-c/examples/Sample/RemoteTestClient/RemoteTest.podspec diff --git a/src/objective-c/examples/Sample/Podfile b/src/objective-c/examples/Sample/Podfile index 471b83c6c7d..8b1a90e39bd 100644 --- a/src/objective-c/examples/Sample/Podfile +++ b/src/objective-c/examples/Sample/Podfile @@ -3,6 +3,7 @@ platform :ios, '8.0' pod 'gRPC', :path => "../../../.." pod 'Route_guide', :path => "RouteGuideClient" +pod 'RemoteTest', :path => "RemoteTestClient" link_with 'Sample', 'SampleTests' diff --git a/src/objective-c/examples/Sample/RemoteTestClient/RemoteTest.podspec b/src/objective-c/examples/Sample/RemoteTestClient/RemoteTest.podspec new file mode 100644 index 00000000000..4790594bc5b --- /dev/null +++ b/src/objective-c/examples/Sample/RemoteTestClient/RemoteTest.podspec @@ -0,0 +1,17 @@ +Pod::Spec.new do |s| + s.name = 'RemoteTest' + s.version = '0.0.1' + s.summary = 'Protobuf library generated from test.proto, messages.proto, and empty.proto' + s.homepage = 'https://github.com/grpc/grpc/tree/master/src/objective-c/examples/Sample/RemoteTestClient' + s.license = 'New BSD' + s.authors = { 'Jorge Canizales' => 'jcanizales@google.com' } + + s.source_files = '*.pb.{h,m}' + s.public_header_files = '*.pb.h' + + s.platform = :ios + s.ios.deployment_target = '6.0' + s.requires_arc = true + + s.dependency 'ProtocolBuffers', '~> 1.9' +end diff --git a/src/objective-c/examples/Sample/RouteGuideClient/Route_guide.podspec b/src/objective-c/examples/Sample/RouteGuideClient/Route_guide.podspec index 6fba1c5c1e3..04d847bf8ff 100644 --- a/src/objective-c/examples/Sample/RouteGuideClient/Route_guide.podspec +++ b/src/objective-c/examples/Sample/RouteGuideClient/Route_guide.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = 'Route_guide' s.version = '0.0.1' s.summary = 'Protobuf library generated from route_guide.proto' - s.homepage = 'https://github.com/grpc/grpc/tree/master/src/objective-c/examples/Sample/protos' + s.homepage = 'https://github.com/grpc/grpc/tree/master/src/objective-c/examples/Sample/RouteGuideClient' s.license = 'New BSD' s.authors = { 'Jorge Canizales' => 'jcanizales@google.com' }