instamobile / messenger-iOS-chat-swift-firestore

Messenger Clone - Real-time iOS Chat with Firebase Firestore written in Swift
https://www.iosapptemplates.com
MIT License
756 stars 128 forks source link

Can not send Photos #20

Open hsmith825 opened 3 years ago

hsmith825 commented 3 years ago

When using the ChapAppTemplateSwiftMarch 15 demo app, I can not get photos to show in the Chat room.

When using the camera, I get the console message as follows: [Camera] Failed to read exposureBiasesByMode dictionary.

When using the photo library, I do get: [LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. ( "<NSLayoutConstraint:0x2800bbde0 UIView:0x1055e17e0.width == - 16 (active)>" )

Will attempt to recover by breaking constraint <NSLayoutConstraint:0x2800bbde0 UIView:0x1055e17e0.width == - 16 (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. 2020-11-08 13:38:52.843059-0800 ChatApp[2194:311708] [View] First responder warning: '<ChatApp.InputTextView: 0x109023800; baseClass = UITextView; frame = (0 0; 297 30); text = ''; clipsToBounds = YES; tintColor = UIExtendedSRGBColorSpace 0.188235 0.407843 0.8 1; gestureRecognizers = <NSArray: 0x282c791a0>; layer = <CALayer: 0x28226f940>; contentOffset: {0, 0}; contentSize: {150, 31.333333333333332}; adjustedContentInset: {0, 0, 0, 0}>' rejected resignFirstResponder when being removed from hierarchy

Any help is appreciated. Thanks!