diff options
author | makdharma <makdharma@users.noreply.github.com> | 2016-08-16 09:17:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 09:17:29 -0700 |
commit | 3bc78cd0b5bd784a235c01612d634b1ec5f8fb97 (patch) | |
tree | 7b0d346dc5d6f1625905efb45d90468bb1d7ec32 /examples/objective-c/helloworld/HelloWorld.podspec | |
parent | a150352090ec2b5b2c385e3394f5392d61c28aee (diff) | |
parent | 8ac55f8a8c6f43dd1b13d6390ce23babdb1a21c5 (diff) |
Merge pull request #7448 from jcanizales/p0-archive-fix
Work around Cocoapods dynamic frameworks incompatibility with XCode archive
Diffstat (limited to 'examples/objective-c/helloworld/HelloWorld.podspec')
-rw-r--r-- | examples/objective-c/helloworld/HelloWorld.podspec | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/examples/objective-c/helloworld/HelloWorld.podspec b/examples/objective-c/helloworld/HelloWorld.podspec index 9f07bd6b30..437f9f40fc 100644 --- a/examples/objective-c/helloworld/HelloWorld.podspec +++ b/examples/objective-c/helloworld/HelloWorld.podspec @@ -45,10 +45,6 @@ Pod::Spec.new do |s| ms.requires_arc = false # The generated files depend on the protobuf runtime. ms.dependency "Protobuf" - # This is needed by all pods that depend on Protobuf: - ms.pod_target_xcconfig = { - 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1', - } end # Files generated by the gRPC plugin @@ -60,4 +56,11 @@ Pod::Spec.new do |s| ss.dependency "gRPC-ProtoRPC" ss.dependency "#{s.name}/Messages" end + + 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 |