From ae6bca4420cac3dddbe7794a8725f7b11c0d7bc8 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Thu, 19 Oct 2017 18:14:02 -0700 Subject: Make fix objc build problem --- templates/gRPC-Core.podspec.template | 1 + 1 file changed, 1 insertion(+) (limited to 'templates/gRPC-Core.podspec.template') diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template index 5657df8521..2836ab1f75 100644 --- a/templates/gRPC-Core.podspec.template +++ b/templates/gRPC-Core.podspec.template @@ -116,6 +116,7 @@ s.default_subspecs = 'Interface', 'Implementation' s.compiler_flags = '-DGRPC_ARES=0' + s.libraries = 'c++' # Like many other C libraries, gRPC-Core has its public headers under `include//` and its # sources and private headers in other directories outside `include/`. Cocoapods' linter doesn't -- cgit v1.2.3 From 44d820ee2c6d7498cff42910bda5eaafc9411f14 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Tue, 24 Oct 2017 13:27:39 -0700 Subject: One more fix in gRPC-Core.podspec that makes Xcode compile --- gRPC-Core.podspec | 2 +- templates/gRPC-Core.podspec.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/gRPC-Core.podspec.template') diff --git a/gRPC-Core.podspec b/gRPC-Core.podspec index df9ec5a7c5..0e3b50c4aa 100644 --- a/gRPC-Core.podspec +++ b/gRPC-Core.podspec @@ -1008,7 +1008,7 @@ Pod::Spec.new do |s| 'test/core/end2end/tests/*.{c,h}', 'test/core/end2end/fixtures/*.h', 'test/core/end2end/data/*.{c,h}', - 'test/core/util/debugger_macros.{c,h}', + 'test/core/util/debugger_macros.{cc,h}', 'test/core/util/test_config.{c,h}', 'test/core/util/port.h', 'test/core/util/port.c', diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template index 2836ab1f75..c329d2dedc 100644 --- a/templates/gRPC-Core.podspec.template +++ b/templates/gRPC-Core.podspec.template @@ -175,7 +175,7 @@ 'test/core/end2end/tests/*.{c,h}', 'test/core/end2end/fixtures/*.h', 'test/core/end2end/data/*.{c,h}', - 'test/core/util/debugger_macros.{c,h}', + 'test/core/util/debugger_macros.{cc,h}', 'test/core/util/test_config.{c,h}', 'test/core/util/port.h', 'test/core/util/port.c', -- cgit v1.2.3