Skip to content

Commit bc68cea

Browse files
committed
chore: swift integ headers
1 parent fe9b335 commit bc68cea

File tree

18 files changed

+36
-18
lines changed

18 files changed

+36
-18
lines changed

packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTDocumentSnapshotStreamHandler.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
// found in the LICENSE file.
44

55
@import FirebaseFirestore;
6-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
6+
#if defined(SWIFT_PACKAGE) || \
7+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
78
@import firebase_core_shared;
89
#else
910
@import firebase_core;

packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
// found in the LICENSE file.
44

55
@import FirebaseFirestore;
6-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
6+
#if defined(SWIFT_PACKAGE) || \
7+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
78
@import firebase_core_shared;
89
#else
910
@import firebase_core;

packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestoreReader.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
@import FirebaseFirestore;
66
@import FirebaseCore;
7-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
7+
#if defined(SWIFT_PACKAGE) || \
8+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
89
@import firebase_core_shared;
910
#else
1011
@import firebase_core;

packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestoreWriter.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
@import FirebaseFirestore;
66
@import FirebaseCore;
7-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
7+
#if defined(SWIFT_PACKAGE) || \
8+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
89
@import firebase_core_shared;
910
#else
1011
@import firebase_core;

packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTLoadBundleStreamHandler.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
//
1111

1212
@import FirebaseFirestore;
13-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
13+
#if defined(SWIFT_PACKAGE) || \
14+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1415
@import firebase_core_shared;
1516
#else
1617
@import firebase_core;

packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTQuerySnapshotStreamHandler.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
// found in the LICENSE file.
44

55
@import FirebaseFirestore;
6-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
6+
#if defined(SWIFT_PACKAGE) || \
7+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
78
@import firebase_core_shared;
89
#else
910
@import firebase_core;

packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTTransactionStreamHandler.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
// found in the LICENSE file.
44

55
@import FirebaseFirestore;
6-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
6+
#if defined(SWIFT_PACKAGE) || \
7+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
78
@import firebase_core_shared;
89
#else
910
@import firebase_core;

packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/include/cloud_firestore/Public/FLTFirebaseFirestorePlugin.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
#endif
1111

1212
#import <Foundation/Foundation.h>
13-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
13+
#if defined(SWIFT_PACKAGE) || \
14+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1415
@import firebase_core_shared;
1516
#else
1617
@import firebase_core;

packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FLTFirebaseAppCheckPlugin.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
#import "FLTTokenRefreshStreamHandler.h"
77

88
@import FirebaseAppCheck;
9-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
9+
#if defined(SWIFT_PACKAGE) || \
10+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1011
@import firebase_core_shared;
1112
#else
1213
@import firebase_core;

packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/include/FLTFirebaseAppCheckPlugin.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
#endif
1111

1212
#import <Foundation/Foundation.h>
13-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
13+
#if defined(SWIFT_PACKAGE) || \
14+
__has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1415
@import firebase_core_shared;
1516
#else
1617
@import firebase_core;

0 commit comments

Comments
 (0)