diff options
author | Muxi Yan <mxyan@google.com> | 2018-06-12 16:22:35 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-06-12 16:32:10 -0700 |
commit | 9291e5d4da5721a28ad912d2994e0381ebf15e97 (patch) | |
tree | 97e2de90d9b6d21cbadefde04f75113fb17b4206 /templates/gRPC-Core.podspec.template | |
parent | 32c04931db9ef88159a59c18b47288c445faa00d (diff) |
Update ObjC build hack
Diffstat (limited to 'templates/gRPC-Core.podspec.template')
-rw-r--r-- | templates/gRPC-Core.podspec.template | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template index a767a612a6..237389b7f4 100644 --- a/templates/gRPC-Core.podspec.template +++ b/templates/gRPC-Core.podspec.template @@ -220,6 +220,7 @@ # TODO (mxyan): Instead of this hack, add include path "third_party" to C core's include path? s.prepare_command = <<-END_OF_COMMAND - find src/core/ -type f ! -path '*.back*' -exec sed -E -i'.back' 's;#include "third_party/nanopb/(.*)";#include <nanopb/\\1>;g' {} \\\; + find src/core/ -type f ! -path '*.grpc_back' -exec sed -E -i'.grpc_back' 's;#include "(pb(_.*)?\\.h)";#include <nanopb/\\1>;g' {} \\\; + find src/core/ -type f -path '*.grpc_back' | xargs rm END_OF_COMMAND end |