|
|
@ -82,10 +82,6 @@ Pod::Spec.new do |s| |
|
|
|
ms.requires_arc = false |
|
|
|
ms.requires_arc = false |
|
|
|
# The generated files depend on the protobuf runtime. |
|
|
|
# The generated files depend on the protobuf runtime. |
|
|
|
ms.dependency 'Protobuf' |
|
|
|
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 |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
# The --objcgrpc_out plugin generates a pair of .pbrpc.h/.pbrpc.m files for each .proto file with |
|
|
|
# The --objcgrpc_out plugin generates a pair of .pbrpc.h/.pbrpc.m files for each .proto file with |
|
|
@ -98,6 +94,13 @@ Pod::Spec.new do |s| |
|
|
|
ss.dependency 'gRPC-ProtoRPC' |
|
|
|
ss.dependency 'gRPC-ProtoRPC' |
|
|
|
ss.dependency "#{s.name}/Messages" |
|
|
|
ss.dependency "#{s.name}/Messages" |
|
|
|
end |
|
|
|
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 |
|
|
|
end |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|