From b7f970bc92966bfd237f8c6fc3d36f2f46c1da41 Mon Sep 17 00:00:00 2001 From: Jorge Canizales <jcanizales@google.com> Date: Fri, 20 Mar 2015 21:49:24 -0700 Subject: [PATCH] Point the Podfile to a "generated" local podspec --- src/objective-c/examples/Sample/Podfile | 2 +- .../examples/Sample/protos/Route_guide.podspec | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/objective-c/examples/Sample/protos/Route_guide.podspec diff --git a/src/objective-c/examples/Sample/Podfile b/src/objective-c/examples/Sample/Podfile index 4da8bc44f6..31bd4eb821 100644 --- a/src/objective-c/examples/Sample/Podfile +++ b/src/objective-c/examples/Sample/Podfile @@ -2,7 +2,7 @@ source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' pod 'gRPC', :path => "../../../.." -pod 'ProtocolBuffers', '~> 1.9' +pod 'Route_guide', :path => "protos" link_with 'Sample', 'SampleTests' diff --git a/src/objective-c/examples/Sample/protos/Route_guide.podspec b/src/objective-c/examples/Sample/protos/Route_guide.podspec new file mode 100644 index 0000000000..3c7abf20d3 --- /dev/null +++ b/src/objective-c/examples/Sample/protos/Route_guide.podspec @@ -0,0 +1,16 @@ +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.license = 'New BSD' + s.authors = { 'Jorge Canizales' => 'jcanizales@google.com' } + + s.source_files = './*.{h,m}' + + s.platform = :ios + s.ios.deployment_target = '6.0' + s.requires_arc = true + + s.dependency 'ProtocolBuffers', '~> 1.9' +end -- GitLab