aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore')
-rw-r--r--Firestore/Example/ProtobufCpp.podspec7
1 files changed, 4 insertions, 3 deletions
diff --git a/Firestore/Example/ProtobufCpp.podspec b/Firestore/Example/ProtobufCpp.podspec
index 8090b1e..eb90ca6 100644
--- a/Firestore/Example/ProtobufCpp.podspec
+++ b/Firestore/Example/ProtobufCpp.podspec
@@ -51,7 +51,10 @@ Pod::Spec.new do |s|
# Set a CPP symbol so the code knows to use framework imports.
s.pod_target_xcconfig = {
- 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1',
+ 'GCC_PREPROCESSOR_DEFINITIONS' =>
+ '$(inherited) ' +
+ 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ' +
+ 'HAVE_PTHREAD=1',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/ProtobufCpp/src"',
# Cocoapods flattens header imports, leading to much anguish. The
@@ -59,8 +62,6 @@ Pod::Spec.new do |s|
# - https://github.com/CocoaPods/CocoaPods/issues/1437
'USE_HEADERMAP' => 'NO',
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
-
- 'OTHER_CFLAGS' => '-DHAVE_PTHREAD'
}
s.requires_arc = false