Browse Source

Fix import for SPM and Cocoapods

Maksym Malyhin 4 năm trước cách đây
mục cha
commit
218937b151
1 tập tin đã thay đổi với 6 bổ sung3 xóa
  1. 6 3
      FirebaseAuth/Sources/Auth/FIRAuth.m

+ 6 - 3
FirebaseAuth/Sources/Auth/FIRAuth.m

@@ -78,10 +78,13 @@
 #import "FirebaseAuth/Sources/SystemService/FIRAuthNotificationManager.h"
 #import "FirebaseAuth/Sources/Utilities/FIRAuthURLPresenter.h"
 
-//#import <GoogleUtilities/GULMulticastAppDelegate-Swift.h>
-
+#if SWIFT_PACKAGE
 @import GoogleUtilities_MulticastAppDelegate;
-#endif
+#else // SWIFT_PACKAGE
+#import <GoogleMulticastAppDelegate/GoogleMulticastAppDelegate-Swift.h>
+#endif // SWIFT_PACKAGE
+
+#endif // TARGET_OS_IOS
 
 NS_ASSUME_NONNULL_BEGIN