diff options
Diffstat (limited to 'templates/gRPC.podspec.template')
-rw-r--r-- | templates/gRPC.podspec.template | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/gRPC.podspec.template b/templates/gRPC.podspec.template index 6616e74bd7..9e41704916 100644 --- a/templates/gRPC.podspec.template +++ b/templates/gRPC.podspec.template @@ -65,6 +65,16 @@ ss.dependency 'gRPC-Core', version end + s.subspec 'CFStream' do |ss| + ss.header_mappings_dir = "#{src_dir}" + ss.dependency 'gRPC-Core/CFStream-Implementation', version + ss.dependency "#{s.name}/Main", version + + ss.pod_target_xcconfig = { + 'GCC_PREPROCESSOR_DEFINITIONS' => 'GRPC_CFSTREAM=1' + } + end + s.subspec 'GID' do |ss| ss.ios.deployment_target = '7.0' |