Skip to content

Commit 4643e3c

Browse files
committed
fix: swift integ imports
1 parent 942340a commit 4643e3c

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

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

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

55
@import FirebaseFirestore;
6-
#ifdef SWIFT_PACKAGE
6+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
77
@import firebase_core_shared;
88
#else
99
@import firebase_core;

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

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

1212
#import <Foundation/Foundation.h>
13-
#ifdef SWIFT_PACKAGE
13+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1414
@import firebase_core_shared;
1515
#else
1616
@import firebase_core;

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

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

88
@import FirebaseAppCheck;
9-
#ifdef SWIFT_PACKAGE
9+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1010
@import firebase_core_shared;
1111
#else
1212
@import firebase_core;

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

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

1212
#import <Foundation/Foundation.h>
13-
#ifdef SWIFT_PACKAGE
13+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1414
@import firebase_core_shared;
1515
#else
1616
@import firebase_core;

packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.m

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

55
@import FirebaseAuth;
6-
#ifdef SWIFT_PACKAGE
6+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
77
@import firebase_core_shared;
88
#else
99
@import firebase_core;

packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/include/Public/FLTFirebaseAuthPlugin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#import <AuthenticationServices/AuthenticationServices.h>
1414
#import <Foundation/Foundation.h>
15-
#ifdef SWIFT_PACKAGE
15+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1616
@import firebase_core_shared;
1717
#else
1818
@import firebase_core;

packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FLTFirebaseCrashlyticsPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#import "include/ExceptionModel_Platform.h"
88

99
@import FirebaseCrashlytics;
10-
#ifdef SWIFT_PACKAGE
10+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1111
@import firebase_core_shared;
1212
#else
1313
@import firebase_core;

packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/include/FLTFirebaseCrashlyticsPlugin.h

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

1212
#import <Foundation/Foundation.h>
13-
#ifdef SWIFT_PACKAGE
13+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1414
@import firebase_core_shared;
1515
#else
1616
@import firebase_core;

packages/firebase_in_app_messaging/firebase_in_app_messaging/ios/firebase_in_app_messaging/Sources/firebase_in_app_messaging/FirebaseInAppMessagingPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#import "FirebaseInAppMessagingPlugin.h"
66

77
@import FirebaseInAppMessaging;
8-
#ifdef SWIFT_PACKAGE
8+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
99
@import firebase_core_shared;
1010
#else
1111
@import firebase_core;

packages/firebase_in_app_messaging/firebase_in_app_messaging/ios/firebase_in_app_messaging/Sources/firebase_in_app_messaging/include/FirebaseInAppMessagingPlugin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#import <TargetConditionals.h>
77

88
#import <Foundation/Foundation.h>
9-
#ifdef SWIFT_PACKAGE
9+
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
1010
@import firebase_core_shared;
1111
#else
1212
@import firebase_core;

0 commit comments

Comments
 (0)