diff options
author | Jorge Canizales <jcanizales@google.com> | 2016-07-18 11:08:04 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2016-07-18 11:25:51 -0700 |
commit | e4704d3edae128b64951e399d2164f1f402c56b8 (patch) | |
tree | e293109e499c41b437c9ed2bcdbad8db4ab34743 /gRPC-ProtoRPC.podspec | |
parent | 9b45afbbc52977fc0c5a820c2eb2fb7276335822 (diff) |
“Allow non-modular includes in framework modules”
It’s the magic sentence that allows pods dependent on RxLibrary to be
archived correctly by XCode.
It’s less than ideal, and seems arbitrary (why RxLibrary specifically?),
so we’ll try to produce a minimal case and open an issue with it in the
Cocoapods repo.
Diffstat (limited to 'gRPC-ProtoRPC.podspec')
-rw-r--r-- | gRPC-ProtoRPC.podspec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gRPC-ProtoRPC.podspec b/gRPC-ProtoRPC.podspec index 9cc33c7dbd..62c9a232a5 100644 --- a/gRPC-ProtoRPC.podspec +++ b/gRPC-ProtoRPC.podspec @@ -62,8 +62,10 @@ Pod::Spec.new do |s| s.dependency 'gRPC', version s.dependency 'gRPC-RxLibrary', version s.dependency 'Protobuf', '~> 3.0.0-beta-3.1' - # This is needed by all pods that depend on Protobuf: s.pod_target_xcconfig = { + # This is needed by all pods that depend on Protobuf: 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1', + # This is needed by all pods that depend on gRPC-RxLibrary: + 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES', } end |