File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -567,12 +567,14 @@ - (void)terminateInternalWithCompletion:(nullable void (^)(NSError *_Nullable er
567567#pragma mark - Force Link Unreferenced Symbols
568568
569569extern void FSTIncludeFSTFirestoreComponent (void );
570+ extern void FSTIncludeFIRSnapshotListenOptions (void );
570571
571572// / This method forces the linker to include all the Analytics categories without requiring app
572573// / developers to include the '-ObjC' linker flag in their projects. DO NOT CALL THIS METHOD.
573574+ (void )notCalled {
574575 NSAssert (NO , @" +notCalled should never be called" );
575576 FSTIncludeFSTFirestoreComponent ();
577+ FSTIncludeFIRSnapshotListenOptions ();
576578}
577579
578580@end
Original file line number Diff line number Diff line change @@ -58,6 +58,11 @@ - (FIRSnapshotListenOptions *)optionsWithSource:(FIRListenSource)source {
5858 return newOptions;
5959}
6060
61+ // / This function forces the linker to include `FIRSnapshotListenOptions`.
62+ // / See `+[FIRFirestore notCalled]`.
63+ void FSTIncludeFIRSnapshotListenOptions (void ) {
64+ }
65+
6166@end
6267
6368NS_ASSUME_NONNULL_END
You can’t perform that action at this time.
0 commit comments