googlearchive / friendlypix

FriendlyPix is a cross-platform Firebase example app
https://firebase.google.com
724 stars 307 forks source link

[iOS] Crash: Post Sign-In #84

Closed joeydambrosio closed 7 years ago

joeydambrosio commented 7 years ago

Below is the debug code I get, I get a Thread 1: SIGABRT on the line of code at the very bottom.

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid condition not satisfying: [arrayOrDictionary isKindOfClass:NSArray.class] || [arrayOrDictionary isKindOfClass:NSDictionary.class]'

return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

ulukaya commented 7 years ago

This is probably due to a bad database state. I'll debug and fix it now. If it persists, please create a new bug at https://github.com/firebase/friendlypix-ios/issues