| 1 |
# This file has been automatically generated from a template file. |
| 2 |
# Please make modifications to |
| 3 |
# `templates/gRPC-RxLibrary.podspec.template` instead. This file can be |
| 4 |
# regenerated from the template by running |
| 5 |
# `tools/buildgen/generate_projects.sh`. |
| 6 |
|
| 7 |
# Copyright 2015 gRPC authors. |
| 8 |
# |
| 9 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 |
# you may not use this file except in compliance with the License. |
| 11 |
# You may obtain a copy of the License at |
| 12 |
# |
| 13 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 14 |
# |
| 15 |
# Unless required by applicable law or agreed to in writing, software |
| 16 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 17 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 |
# See the License for the specific language governing permissions and |
| 19 |
# limitations under the License. |
| 20 |
|
| 21 |
|
| 22 |
Pod::Spec.new do |s| |
| 23 |
s.name = 'gRPC-RxLibrary' |
| 24 |
version = '1.51.1' |
| 25 |
s.version = version |
| 26 |
s.summary = 'Reactive Extensions library for iOS/OSX.' |
| 27 |
s.homepage = 'https://grpc.io' |
| 28 |
s.license = 'Apache License, Version 2.0' |
| 29 |
s.authors = { 'The gRPC contributors' => '[email protected]' } |
| 30 |
|
| 31 |
s.source = { |
| 32 |
:git => 'https://github.com/grpc/grpc.git', |
| 33 |
:tag => "v#{version}", |
| 34 |
} |
| 35 |
|
| 36 |
s.ios.deployment_target = '9.0' |
| 37 |
s.osx.deployment_target = '10.10' |
| 38 |
s.tvos.deployment_target = '10.0' |
| 39 |
s.watchos.deployment_target = '4.0' |
| 40 |
|
| 41 |
name = 'RxLibrary' |
| 42 |
s.module_name = name |
| 43 |
s.header_dir = name |
| 44 |
|
| 45 |
s.default_subspec = 'Interface', 'Implementation' |
| 46 |
|
| 47 |
src_dir = 'src/objective-c/RxLibrary' |
| 48 |
s.subspec 'Interface' do |ss| |
| 49 |
ss.header_mappings_dir = "#{src_dir}" |
| 50 |
ss.source_files = "#{src_dir}/*.h" |
| 51 |
ss.public_header_files = "#{src_dir}/*.h" |
| 52 |
end |
| 53 |
|
| 54 |
s.subspec 'Implementation' do |ss| |
| 55 |
ss.header_mappings_dir = "#{src_dir}" |
| 56 |
ss.source_files = "#{src_dir}/*.m", "#{src_dir}/**/*.{h,m}" |
| 57 |
ss.private_header_files = "#{src_dir}/**/*.h" |
| 58 |
|
| 59 |
ss.dependency "#{s.name}/Interface" |
| 60 |
end |
| 61 |
|
| 62 |
src_dir = 'src/objective-c/RxLibrary' |
| 63 |
s.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}" |
| 64 |
s.private_header_files = "#{src_dir}/private/*.h" |
| 65 |
s.header_mappings_dir = "#{src_dir}" |
| 66 |
|
| 67 |
s.pod_target_xcconfig = { |
| 68 |
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO', |
| 69 |
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14', |
| 70 |
} |
| 71 |
end |