Skip to content

Commit 5026453

Browse files
authored
Add missing nanopb flag (#2042)
1 parent 57ba705 commit 5026453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseFirestore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
6868
# The nanopb pod sets these defs, so we must too. (We *do* require 16bit
6969
# (or larger) fields, so we'd have to set at least PB_FIELD_16BIT
7070
# anyways.)
71-
'PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1',
71+
'PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_ENABLE_MALLOC=1',
7272
'HEADER_SEARCH_PATHS' =>
7373
'"${PODS_TARGET_SRCROOT}" ' +
7474
'"${PODS_TARGET_SRCROOT}/Firestore/third_party/abseil-cpp" ' +

0 commit comments

Comments
 (0)