From 12be38655043c926080347b597a4a61e9c2ec54f Mon Sep 17 00:00:00 2001 From: Yuchen Zeng Date: Thu, 25 Aug 2016 18:25:52 -0700 Subject: [PATCH] Disable c-ares in objc --- gRPC-Core.podspec | 1 + templates/gRPC-Core.podspec.template | 1 + 2 files changed, 2 insertions(+) diff --git a/gRPC-Core.podspec b/gRPC-Core.podspec index 90ff915e55c..e4614cfc4b1 100644 --- a/gRPC-Core.podspec +++ b/gRPC-Core.podspec @@ -102,6 +102,7 @@ Pod::Spec.new do |s| } s.default_subspecs = 'Interface', 'Implementation' + s.compiler_flags = '-DGRPC_NATIVE_ADDRESS_RESOLVE' # 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 diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template index 1d5a47336c5..a25cc80362d 100644 --- a/templates/gRPC-Core.podspec.template +++ b/templates/gRPC-Core.podspec.template @@ -129,6 +129,7 @@ } s.default_subspecs = 'Interface', 'Implementation' + s.compiler_flags = '-DGRPC_NATIVE_ADDRESS_RESOLVE' # 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