aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2018-10-26 17:32:09 -0700
committerGravatar GitHub <noreply@github.com>2018-10-26 17:32:09 -0700
commita6d5884814a8be39094a7a0e18486af3b92f8758 (patch)
tree0873eb460398551b4f931ac086344325a54fc9ac /templates
parenta7a927466abfe2943aedd1d7900e9d58a5d02138 (diff)
parentace83fa2661009693ebed055f42363931d736c26 (diff)
Merge pull request #16962 from var-const/varconst/podspec-roots-pem
In gRPC-C++ podspec, copy the certificate to bundle resources
Diffstat (limited to 'templates')
-rw-r--r--templates/gRPC-C++.podspec.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/gRPC-C++.podspec.template b/templates/gRPC-C++.podspec.template
index cff252b3a9..ed69a1ed4c 100644
--- a/templates/gRPC-C++.podspec.template
+++ b/templates/gRPC-C++.podspec.template
@@ -177,6 +177,9 @@
s.default_subspecs = 'Interface', 'Implementation'
+ # Certificates, to be able to establish TLS connections:
+ s.resource_bundles = { 'gRPCCertificates' => ['etc/roots.pem'] }
+
s.header_mappings_dir = 'include/grpcpp'
s.subspec 'Interface' do |ss|