Crashes not appearing in dashboard #526
Description
Hi everybody,
since our last app update (6.2.0-4), crashes do no longer appear in the dashboard. Crashes are appearing in iTunes Connect / the Xcode Organizer > Crashes. Unfotunateley there's quite a few...
The last version (6.1.1-8) the was released is about 90 days old. Everything worked as expected until then - crashes were tracked and appeared in the dashboard. Since then, nothing important has changed - the AppDelegate has some new methods, some classes were added to the project and I use new provisioning profiles. Neither Hockey, nor any other pod / framework was updated between the two versions. The upload to Hockey worked without a hitch (done with fastlane
, as with every other version before). I also double checked the API key and the Hockey identifier.
The strange this is that both Users and Sessions are being tracked (and visible in the dashboard) for the new version, just no crashes.
For reference, here's the code to initialise Hockey:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
#if RELEASE
setupHockey()
#endif
// ...
return true
}
func setupHockey() {
BITHockeyManager.shared().configure(withIdentifier: Helper.hockeyAppId)
BITHockeyManager.shared().start()
}
Also, intentionally causing a crash in either a debug (with the RELEASE
pragmas commented out) or release build, and then running the app from Xcode, the BITHockeyManager
tells me that there was no crash:
(lldb) po BITHockeyManager.shared().crashManager.didCrashInLastSession
false
I have absolutely no idea what could cause this to happen. The only real difference was the Xcode version used when building and submitting the app:
- (6.1.1-8) working version with crashes: Build SDK / Platform 15C107 (Xcode 9.2)
- (6.2.0-4) new version with no crashes: Build SDK / Platform 15F79 (Xcode 9.4.1)