aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/generated_libraries/RemoteTestClient/RemoteTest.podspec
diff options
context:
space:
mode:
Diffstat (limited to 'src/objective-c/generated_libraries/RemoteTestClient/RemoteTest.podspec')
-rw-r--r--src/objective-c/generated_libraries/RemoteTestClient/RemoteTest.podspec32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/objective-c/generated_libraries/RemoteTestClient/RemoteTest.podspec b/src/objective-c/generated_libraries/RemoteTestClient/RemoteTest.podspec
index 36c2b509e8..dd0dab352d 100644
--- a/src/objective-c/generated_libraries/RemoteTestClient/RemoteTest.podspec
+++ b/src/objective-c/generated_libraries/RemoteTestClient/RemoteTest.podspec
@@ -1,24 +1,26 @@
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.name = "RemoteTest"
+ s.version = "0.0.1"
+ s.license = "New BSD"
- s.ios.deployment_target = '6.0'
- s.osx.deployment_target = '10.8'
+ s.ios.deployment_target = "6.0"
+ s.osx.deployment_target = "10.8"
- s.subspec 'Messages' do |ms|
- ms.source_files = '*.pbobjc.{h,m}'
+ # Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
+ s.prepare_command = "protoc --objc_out=. --objcgrpc_out=. *.proto"
+
+ s.subspec "Messages" do |ms|
+ ms.source_files = "*.pbobjc.{h,m}"
+ ms.header_mappings_dir = "."
ms.requires_arc = false
- ms.dependency 'Protobuf', '~> 3.0'
+ ms.dependency "Protobuf", "~> 3.0.0-alpha-3"
end
- s.subspec 'Services' do |ss|
- ss.source_files = '*.pbrpc.{h,m}'
+ s.subspec "Services" do |ss|
+ ss.source_files = "*.pbrpc.{h,m}"
+ ss.header_mappings_dir = "."
ss.requires_arc = true
- ss.dependency 'gRPC', '~> 0.0'
- ss.dependency 'RemoteTest/Messages'
+ ss.dependency "gRPC", "~> 0.5"
+ ss.dependency "#{s.name}/Messages"
end
end