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 /src/objective-c/examples/RemoteTestClient/RemoteTest.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 'src/objective-c/examples/RemoteTestClient/RemoteTest.podspec')
-rw-r--r-- | src/objective-c/examples/RemoteTestClient/RemoteTest.podspec | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/objective-c/examples/RemoteTestClient/RemoteTest.podspec b/src/objective-c/examples/RemoteTestClient/RemoteTest.podspec index 974a6765c7..7083ca6d92 100644 --- a/src/objective-c/examples/RemoteTestClient/RemoteTest.podspec +++ b/src/objective-c/examples/RemoteTestClient/RemoteTest.podspec @@ -35,10 +35,6 @@ Pod::Spec.new do |s| ms.header_mappings_dir = '.' ms.requires_arc = false 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 s.subspec 'Services' do |ss| @@ -48,4 +44,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 |