Skip to content

Commit a22b425

Browse files
authored
Firestore - new public header structure (#6197)
1 parent 1dffd1b commit a22b425

26 files changed

+13
-12
lines changed

FirebaseFirestore.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
2626

2727
s.source_files = [
2828
'FirebaseCore/Sources/Private/*.h',
29-
'Firestore/Source/Public/*.h',
29+
'Firestore/Source/Public/FirebaseFirestore/*.h',
3030
'Firestore/Source/**/*.{m,mm}',
3131
'Firestore/Protos/nanopb/**/*.cc',
3232
'Firestore/core/include/**/*.{cc,mm}',
@@ -56,7 +56,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
5656
'Firestore/core/src/util/log_stdio.cc',
5757
'Firestore/core/src/util/secure_random_openssl.cc'
5858
]
59-
s.public_header_files = 'Firestore/Source/Public/*.h'
59+
s.public_header_files = 'Firestore/Source/Public/FirebaseFirestore/*.h'
6060

6161
s.dependency 'FirebaseCore', '~> 6.8'
6262

@@ -89,7 +89,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
8989
'PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_ENABLE_MALLOC=1',
9090
'HEADER_SEARCH_PATHS' =>
9191
'"${PODS_TARGET_SRCROOT}" ' +
92-
'"${PODS_TARGET_SRCROOT}/Firestore/Source/Public" ' +
92+
'"${PODS_TARGET_SRCROOT}/Firestore/Source/Public/FirebaseFirestore" ' +
9393
'"${PODS_ROOT}/nanopb" ' +
9494
'"${PODS_TARGET_SRCROOT}/Firestore/Protos/nanopb"'
9595
}

Firestore/Example/Tests/Util/FSTEventAccumulator.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
#import <XCTest/XCTest.h>
2020

2121
#import "Firestore/Example/Tests/Util/XCTestCase+Await.h"
22-
#import "Firestore/Source/Public/FIRDocumentSnapshot.h"
23-
#import "Firestore/Source/Public/FIRQuerySnapshot.h"
24-
#import "Firestore/Source/Public/FIRSnapshotMetadata.h"
22+
#import "Firestore/Source/Public/FirebaseFirestore/FIRDocumentSnapshot.h"
23+
#import "Firestore/Source/Public/FirebaseFirestore/FIRQuerySnapshot.h"
24+
#import "Firestore/Source/Public/FirebaseFirestore/FIRSnapshotMetadata.h"
2525

2626
#include "Firestore/core/src/util/hard_assert.h"
2727

Firestore/Source/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(NOT APPLE)
1616
return()
1717
endif()
1818

19-
file(GLOB headers Public/*.h)
19+
file(GLOB headers Public/FirebaseFirestore/*.h)
2020
file(GLOB sources API/*.h API/*.m API/*.mm)
2121

2222
firebase_ios_add_framework(FirebaseFirestore ${headers} ${sources})

0 commit comments

Comments
 (0)