File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -567,12 +567,14 @@ - (void)terminateInternalWithCompletion:(nullable void (^)(NSError *_Nullable er
567
567
#pragma mark - Force Link Unreferenced Symbols
568
568
569
569
extern void FSTIncludeFSTFirestoreComponent (void );
570
+ extern void FSTIncludeFIRSnapshotListenOptions (void );
570
571
571
- // / This method forces the linker to include all the Analytics categories without requiring app
572
+ // / This method forces the linker to include all Firestore symbols without requiring app
572
573
// / developers to include the '-ObjC' linker flag in their projects. DO NOT CALL THIS METHOD.
573
574
+ (void )notCalled {
574
575
NSAssert (NO , @" +notCalled should never be called" );
575
576
FSTIncludeFSTFirestoreComponent ();
577
+ FSTIncludeFIRSnapshotListenOptions ();
576
578
}
577
579
578
580
@end
Original file line number Diff line number Diff line change @@ -58,6 +58,11 @@ - (FIRSnapshotListenOptions *)optionsWithSource:(FIRListenSource)source {
58
58
return newOptions;
59
59
}
60
60
61
+ // / This function forces the linker to include `FIRSnapshotListenOptions`.
62
+ // / See `+[FIRFirestore notCalled]`.
63
+ void FSTIncludeFIRSnapshotListenOptions (void ) {
64
+ }
65
+
61
66
@end
62
67
63
68
NS_ASSUME_NONNULL_END
You can’t perform that action at this time.
0 commit comments