Skip to content

Commit 3cd93ad

Browse files
committed
fix: swift integ imports
1 parent 1a638a7 commit 3cd93ad

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
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-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
6+
#ifdef SWIFT_PACKAGE
77
@import firebase_core_shared;
88
#else
99
@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-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
9+
#ifdef SWIFT_PACKAGE
1010
@import firebase_core_shared;
1111
#else
1212
@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-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
6+
#ifdef SWIFT_PACKAGE
77
@import firebase_core_shared;
88
#else
99
@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-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
10+
#ifdef SWIFT_PACKAGE
1111
@import firebase_core_shared;
1212
#else
1313
@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-
#if __has_include(<firebase_core_shared/firebase_core_shared-Swift.h>)
8+
#ifdef SWIFT_PACKAGE
99
@import firebase_core_shared;
1010
#else
1111
@import firebase_core;

0 commit comments

Comments
 (0)