Skip to content

Commit

Permalink
Merge pull request #1098 from firebase/mc/headers
Browse files Browse the repository at this point in the history
only import FirebaseStorage-Swift.h if cocoapods present
  • Loading branch information
morganchen12 authored Sep 23, 2022
2 parents d30b651 + d9e30b9 commit 274e269
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#if __has_include(<FirebaseStorage/FirebaseStorage.h>)
// Firebase 8.x
#import <FirebaseStorage/FirebaseStorage.h>
#elif __has_include(<FirebaseStorage/FirebaseStorage-Swift.h>)
#elif (__has_include(<FirebaseStorage/FirebaseStorage-Swift.h>) && defined(COCOAPODS))
// Firebase 9.0+
#import <FirebaseStorage/FirebaseStorage-Swift.h>
#else
Expand Down

0 comments on commit 274e269

Please sign in to comment.