Skip to content

Commit 4d9fc3e

Browse files
ryanwilsonsamedson
andauthored
Crashlytics add to subspec and Firebase.h (#4634) (#4642)
Co-authored-by: Sam Edson <[email protected]>
1 parent 6182466 commit 4d9fc3e

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

CoreOnly/Sources/Firebase.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
#import <FirebaseAuth/FirebaseAuth.h>
2727
#endif
2828
29+
#if __has_include(<FirebaseCrashlytics/FirebaseCrashlytics.h>)
30+
#import <FirebaseCrashlytics/FirebaseCrashlytics.h>
31+
#endif
32+
2933
#if __has_include(<FirebaseDatabase/FirebaseDatabase.h>)
3034
#import <FirebaseDatabase/FirebaseDatabase.h>
3135
#endif

CoreOnly/Tests/FirebasePodTest/Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ target 'FirebasePodTest' do
1313
pod 'FirebaseCore', :path => '../../../'
1414
pod 'FirebaseCoreDiagnostics', :path => '../../../'
1515
pod 'FirebaseCoreDiagnosticsInterop', :path => '../../../'
16+
pod 'FirebaseCrashlytics', :path => '../../../'
1617
pod 'FirebaseDatabase', :path => '../../../'
1718
pod 'FirebaseDynamicLinks', :path => '../../../'
1819
pod 'FirebaseFirestore', :path => '../../../'

Firebase.podspec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ Simplify your iOS development, grow your user base, and monetize more effectivel
6969
ss.dependency 'FirebaseAuth', '~> 6.4.2'
7070
end
7171

72+
s.subspec 'Crashlytics' do |ss|
73+
ss.dependency 'Firebase/CoreOnly'
74+
ss.dependency 'FirebaseCrashlytics', '~> 4.0.0-beta.1'
75+
end
76+
7277
s.subspec 'Database' do |ss|
7378
ss.dependency 'Firebase/CoreOnly'
7479
ss.dependency 'FirebaseDatabase', '~> 6.1.4'

0 commit comments

Comments
 (0)