googlearchive / friendlypix

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

IOS: App Crashes after SignIn (In Home feeds) #77

Closed rifat1234 closed 7 years ago

rifat1234 commented 7 years ago

2017-01-29 17:51:14.228 FriendlyPix[12791:211410] Firebase automatic screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO in the Info.plist 2017-01-29 17:51:14.741 FriendlyPix[12791:211410] bundleId: com.friendlyPix.ios 2017-01-29 17:51:15.037 FriendlyPix[12791:] <FIRAnalytics/INFO> Firebase Analytics v.3600000 started 2017-01-29 17:51:15.037 FriendlyPix[12791:] <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/Y0Yjwu) 2017-01-29 17:51:15.078: <FIRInstanceID/WARNING> FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO 2017-01-29 17:51:15.079: <FIRInstanceID/WARNING> Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)" 2017-01-29 17:51:15.083: <FIRMessaging/INFO> FIRMessaging library version 1.2.0 2017-01-29 17:51:15.094: <FIRMessaging/WARNING> FIRMessaging AppDelegate proxy enabled, will swizzle app delegate remote notification receiver handlers. Add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO 2017-01-29 17:51:15.147 FriendlyPix[12791:] <FIRAnalytics/INFO> Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist 2017-01-29 17:51:16.853 FriendlyPix[12791:211649] [Fabric] failed to download settings Error Domain=FABNetworkError Code=-5 "(null)" UserInfo={status_code=403, type=2, request_id=2e2d0b31267f6e396cfe56e062fd1c89, content_type=application/json; charset=utf-8} 2017-01-29 17:51:16.963 FriendlyPix[12791:] <FIRAnalytics/INFO> Firebase Analytics enabled 2017-01-29 17:51:18.563 FriendlyPix[12791:211410] KZPropertyMapper: Ignoring value at index posts in type FPUser as it's not mapped 2017-01-29 17:51:18.564 FriendlyPix[12791:211410] KZPropertyMapper: Ignoring value at index _search_index in type FPUser as it's not mapped 2017-01-29 17:51:18.564 FriendlyPix[12791:211410] KZPropertyMapper: Ignoring value at index following in type FPUser as it's not mapped 2017-01-29 17:51:18.691 FriendlyPix[12791:211410] KZPropertyMapper: Ignoring value at index posts in type FPUser as it's not mapped 2017-01-29 17:51:18.691 FriendlyPix[12791:211410] KZPropertyMapper: Ignoring value at index _search_index in type FPUser as it's not mapped 2017-01-29 17:51:18.692 FriendlyPix[12791:211410] KZPropertyMapper: Ignoring value at index following in type FPUser as it's not mapped 2017-01-29 17:51:18.699 FriendlyPix[12791:211410] <UIView: 0x7f9e03195900; frame = (0 0; 414 736); autoresize = W+H; layer = <CALayer: 0x7f9e03195c80>>'s window is not equal to <FPTabBarController: 0x7f9e030a8990>'s view's window! 2017-01-29 17:51:18.699 FriendlyPix[12791:211410] Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior (<FPHomeViewController: 0x7f9e031cb720>) 2017-01-29 17:51:19.235 FriendlyPix[12791:211410] view did appear end 2017-01-29 17:51:33.083 FriendlyPix[12791:211410] KZPropertyMapper: Ignoring value at index { text = "<KZPropertyDescriptor: 0x7f9e00fa51e0>"; timestamp = "<KZPropertyDescriptor: 0x7f9e00f84e20>"; url = "<KZPropertyDescriptor: 0x7f9e00f8dcb0>"; } as it's not mapped 2017-01-29 17:51:33.084 FriendlyPix[12791:211410] Assertion failure in +[KZPropertyMapper mapValuesFrom:toInstance:usingMapping:errors:], /Users/rifatmonzur/Desktop/Projects/friendlypix/ios/Pods/KZPropertyMapper/KZPropertyMapper/KZPropertyMapper.m:38 2017-01-29 17:51:33.157 FriendlyPix[12791:211410] Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid condition not satisfying: [arrayOrDictionary isKindOfClass:NSArray.class] || [arrayOrDictionary isKindOfClass:NSDictionary.class]' *** First throw call stack: ( 0 CoreFoundation 0x000000010fa0ad85 exceptionPreprocess + 165 1 libobjc.A.dylib 0x000000010f47edeb objc_exception_throw + 48 2 CoreFoundation 0x000000010fa0abea +[NSException raise:format:arguments:] + 106 3 Foundation 0x000000010be2ad5a -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198 4 KZPropertyMapper 0x000000010c39ac1b +[KZPropertyMapper mapValuesFrom:toInstance:usingMapping:errors:] + 843 5 FriendlyPix 0x0000000109155702 -[FPPost initWithDictionary:] + 642 6 FriendlyPix 0x0000000109155931 -[FPPost initWithSnapshot:andComments:] + 145 7 FriendlyPix 0x000000010914840a 42-[FPPhotoTimelineViewController loadPost:]_block_invoke_2 + 122 8 FriendlyPix 0x000000010923284a 71-[FIRDatabaseQuery observeSingleEventOfType:withBlock:withCancelBlock:]_block_invoke + 37 9 FriendlyPix 0x0000000109232b4a 92-[FIRDatabaseQuery observeSingleEventOfType:andPreviousSiblingKeyWithBlock:withCancelBlock:]_block_invoke + 110 10 FriendlyPix 0x00000001092596df __43-[FChildEventRegistration fireEvent:queue:]_block_invoke.68 + 88 11 libdispatch.dylib 0x000000010fff0d9d _dispatch_call_block_and_release + 12 12 libdispatch.dylib 0x00000001100113eb _dispatch_client_callout + 8 13 libdispatch.dylib 0x000000010fff91ef _dispatch_main_queue_callback_4CF + 1738 14 CoreFoundation 0x000000010f9640f9 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 15 CoreFoundation 0x000000010f925b99 __CFRunLoopRun + 2073 16 CoreFoundation 0x000000010f9250f8 CFRunLoopRunSpecific + 488 17 GraphicsServices 0x0000000111f93ad2 GSEventRunModal + 161 18 UIKit 0x000000010d1c1f09 UIApplicationMain + 171 19 FriendlyPix 0x0000000109152b7f main + 111 20 libdyld.dylib 0x000000011004592d start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

I am getting this log. App crashes after sign in to home feeds.

AvonGroveDynaMOE commented 7 years ago

I get the same issue @iulukaya

ulukaya commented 7 years ago

I'll debug and fix this now, if it persists please file a new bug at https://github.com/firebase/friendlypix-ios/issues