aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2015-03-20 21:49:24 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2015-04-21 13:28:49 -0700
commitb7f970bc92966bfd237f8c6fc3d36f2f46c1da41 (patch)
tree1593deec299dd46b975c5be5e0dbc3b3a70ee03c /src/objective-c
parentf4ddfab3f73f7cfd821122caf58c37fa6e47f062 (diff)
Point the Podfile to a "generated" local podspec
Diffstat (limited to 'src/objective-c')
-rw-r--r--src/objective-c/examples/Sample/Podfile2
-rw-r--r--src/objective-c/examples/Sample/protos/Route_guide.podspec16
2 files changed, 17 insertions, 1 deletions
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