firebase-ios-sdk: [Crashlytics] Not receiving crash reports

Step 1: Describe your environment

  • Xcode version: 11.2.1
  • Firebase SDK version: 6.16.0
  • Firebase Component: Crashlytics (Auth, Core, Database, Firestore, Messaging, Storage, etc)
  • Component version: 4.0.0-beta1
  • Installation method: CocoaPods

Step 2: Describe the problem

After upgrading to the new Firebase Crashlytics SDK, we are not receiving crash reports for either debug or release builds. We verified the installation & correct usage of the GoogleService-Info.plist. When forcing a crash locally using fatalError, on the next execution Crashlytics.crashlytics().didCrashDuringPreviousExecution() always returns false.

Steps to reproduce:

Force a simple crash using fatalError

Relevant Code:

in didFinishLaunching

print(Crashlytics.crashlytics().didCrashDuringPreviousExecution())
DispatchQueue.main.asyncAfter(deadline: .now() + 35) {
   fatalError()
 }

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

The team is actively looking into this issue and we will follow up shortly 😃

@rizafran I have not observed a log output stating anything about the actual submission besides the packaging mentioned above. All dSyms were uploaded, both manually and by hand just in case, still no change for over 48h. However, I’m now seeing the following error when presumably trying to submit the data after ugprading to beta-3

2020-02-03 08:10:10.521494-0500 MyApp[9414:3835384] 6.16.0 - [Firebase/Crashlytics][I-CLS000000] Failed to remove file /Users/myUser/Library/Developer/CoreSimulator/Devices/989DCD15-D852-4139-98CF-C1E55D904C67/data/Containers/Data/Application/C17F8BBD-05AC-489B-960E-094296068BEA/Library/Caches/com.crashlytics.data/com.mobilemotion.dubsmash/v4/reports/prepared/563CD1E6-0E42-4981-8CF5-EAD739865A37.multipartmime: Error Domain=NSCocoaErrorDomain Code=4 "ā€œ563CD1E6-0E42-4981-8CF5-EAD739865A37.multipartmimeā€ couldn’t be removed." UserInfo={NSUserStringVariant=(
), NSFilePath=/Users/myUser/Library/Developer/CoreSimulator/Devices/989DCD15-D852-4139-98CF-C1E55D904C67/data/Containers/Data/Application/C17F8BBD-05AC-489B-960E-094296068BEA/Library/Caches/com.crashlytics.data/com.mobilemotion.dubsmash/v4/reports/prepared/563CD1E6-0E42-4981-8CF5-EAD739865A37.multipartmime, NSUnderlyingError=0x600001c7de30 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2020-02-03 08:10:10.522247-0500 MyApp[9414:3835384] 6.16.0 - [Firebase/Crashlytics][I-CLS000000] Unable to remove packaged submission