Skip to content

Commit b9e8c48

Browse files
authored
Crashlytics add warning about including new and old SDK (#4755)
1 parent 0988096 commit b9e8c48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Crashlytics/Crashlytics/Public/FIRCrashlytics.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414

1515
#import <Foundation/Foundation.h>
1616

17+
#if __has_include(<Crashlytics/Crashlytics.h>)
18+
#warning "FirebaseCrashlytics and Crashlytics are not compatible \
19+
in the same app because including multiple crash reporters can \
20+
cause problems when registering exception handlers."
21+
#endif
22+
1723
NS_ASSUME_NONNULL_BEGIN
1824
1925
/**

0 commit comments

Comments
 (0)