Muxi Yan | 27e9db4 | 2017-01-30 09:21:05 -0800 | [diff] [blame] | 1 | # This file has been automatically generated from a template file. |
| 2 | # Please make modifications to `templates/gRPC.podspec.template` |
| 3 | # instead. This file can be regenerated from the template by running |
| 4 | # `tools/buildgen/generate_projects.sh`. |
| 5 | |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 6 | # Copyright 2015 gRPC authors. |
murgatroid99 | f680af0 | 2015-06-22 11:20:24 -0700 | [diff] [blame] | 7 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 8 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | # you may not use this file except in compliance with the License. |
| 10 | # You may obtain a copy of the License at |
murgatroid99 | f680af0 | 2015-06-22 11:20:24 -0700 | [diff] [blame] | 11 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
murgatroid99 | f680af0 | 2015-06-22 11:20:24 -0700 | [diff] [blame] | 13 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | # See the License for the specific language governing permissions and |
| 18 | # limitations under the License. |
murgatroid99 | f680af0 | 2015-06-22 11:20:24 -0700 | [diff] [blame] | 19 | |
murgatroid99 | f398d5c | 2015-06-16 14:07:36 -0700 | [diff] [blame] | 20 | |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 21 | Pod::Spec.new do |s| |
| 22 | s.name = 'gRPC' |
David Garcia Quintas | aebcdbd | 2017-05-30 14:14:27 -0700 | [diff] [blame] | 23 | version = '1.5.0-dev' |
Jorge Canizales | c825f42 | 2015-09-28 21:43:48 -0700 | [diff] [blame] | 24 | s.version = version |
Jorge Canizales | 043dc72 | 2015-06-02 15:15:07 -0700 | [diff] [blame] | 25 | s.summary = 'gRPC client library for iOS/OSX' |
Mehrdad Afshari | bb3d95b | 2017-07-10 22:24:28 +0000 | [diff] [blame] | 26 | s.homepage = 'https://grpc.io' |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 27 | s.license = 'Apache License, Version 2.0' |
Jorge Canizales | 043dc72 | 2015-06-02 15:15:07 -0700 | [diff] [blame] | 28 | s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' } |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 29 | |
Nicolas "Pixel" Noble | 4150e9e | 2016-07-12 19:18:56 +0200 | [diff] [blame] | 30 | s.source = { |
| 31 | :git => 'https://github.com/grpc/grpc.git', |
Muxi Yan | 690aee6 | 2017-01-27 02:52:47 +0000 | [diff] [blame] | 32 | :tag => "v#{version}", |
Nicolas "Pixel" Noble | 4150e9e | 2016-07-12 19:18:56 +0200 | [diff] [blame] | 33 | } |
Nicolas "Pixel" Noble | cff6469 | 2015-10-03 02:01:51 +0200 | [diff] [blame] | 34 | |
Muxi Yan | 37d3fba | 2017-02-28 16:14:40 -0800 | [diff] [blame] | 35 | s.ios.deployment_target = '7.0' |
Craig Tiller | ba49645 | 2015-09-21 17:15:19 -0700 | [diff] [blame] | 36 | s.osx.deployment_target = '10.9' |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 37 | |
Nicolas "Pixel" Noble | 4150e9e | 2016-07-12 19:18:56 +0200 | [diff] [blame] | 38 | name = 'GRPCClient' |
| 39 | s.module_name = name |
| 40 | s.header_dir = name |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 41 | |
Nicolas "Pixel" Noble | 4150e9e | 2016-07-12 19:18:56 +0200 | [diff] [blame] | 42 | src_dir = 'src/objective-c/GRPCClient' |
| 43 | s.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}" |
| 44 | s.private_header_files = "#{src_dir}/private/*.h" |
| 45 | s.header_mappings_dir = "#{src_dir}" |
Jorge Canizales | 045fabb | 2015-04-21 11:39:37 -0700 | [diff] [blame] | 46 | |
Nicolas "Pixel" Noble | 4150e9e | 2016-07-12 19:18:56 +0200 | [diff] [blame] | 47 | s.dependency 'gRPC-Core', version |
| 48 | s.dependency 'gRPC-RxLibrary', version |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 49 | |
Nicolas "Pixel" Noble | 4150e9e | 2016-07-12 19:18:56 +0200 | [diff] [blame] | 50 | # Certificates, to be able to establish TLS connections: |
| 51 | s.resource_bundles = { 'gRPCCertificates' => ['etc/roots.pem'] } |
Jorge Canizales | e4704d3 | 2016-07-18 11:08:04 -0700 | [diff] [blame] | 52 | |
| 53 | s.pod_target_xcconfig = { |
| 54 | # This is needed by all pods that depend on gRPC-RxLibrary: |
| 55 | 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES', |
| 56 | } |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 57 | end |