“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.
Showing
- examples/objective-c/auth_sample/AuthTestService.podspec 7 additions, 4 deletionsexamples/objective-c/auth_sample/AuthTestService.podspec
- examples/objective-c/helloworld/HelloWorld.podspec 7 additions, 4 deletionsexamples/objective-c/helloworld/HelloWorld.podspec
- examples/objective-c/route_guide/RouteGuide.podspec 7 additions, 4 deletionsexamples/objective-c/route_guide/RouteGuide.podspec
- gRPC-ProtoRPC.podspec 3 additions, 1 deletiongRPC-ProtoRPC.podspec
- gRPC.podspec 5 additions, 0 deletionsgRPC.podspec
- src/objective-c/README.md 7 additions, 4 deletionssrc/objective-c/README.md
- src/objective-c/examples/RemoteTestClient/RemoteTest.podspec 7 additions, 4 deletionssrc/objective-c/examples/RemoteTestClient/RemoteTest.podspec
- src/objective-c/tests/RemoteTestClient/RemoteTest.podspec 7 additions, 4 deletionssrc/objective-c/tests/RemoteTestClient/RemoteTest.podspec
... | @@ -62,8 +62,10 @@ Pod::Spec.new do |s| | ... | @@ -62,8 +62,10 @@ Pod::Spec.new do |s| |
s.dependency 'gRPC', version | s.dependency 'gRPC', version | ||
s.dependency 'gRPC-RxLibrary', version | s.dependency 'gRPC-RxLibrary', version | ||
s.dependency 'Protobuf', '~> 3.0.0-beta-3.1' | s.dependency 'Protobuf', '~> 3.0.0-beta-3.1' | ||
# This is needed by all pods that depend on Protobuf: | |||
s.pod_target_xcconfig = { | s.pod_target_xcconfig = { | ||
# This is needed by all pods that depend on Protobuf: | |||
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1', | '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 | end |
Please register or sign in to comment