iOS SDK 10.3.0, so far only occurred on devices with a version of iOS 12.
When you open Messenger but close it before the messages finished loading, it will crash.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Mutating a priority from required to not on an installed constraint (or vice-versa) is not supported. You passed priority 999 and the existing priority was 1000.'
I couldn't reproduce on iOS 14 or iOS 15 versions, but I noticed after closing Messenger, there are some constraint conflicts
>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:0x6000014ba580 UIView:0x7fa7c8e734d0.width == UIStackView:0x7fa7c8e78de0.width (active)>",
"<NSLayoutConstraint:0x6000014b9b30 H:|-(24)--UIStackView:0x7fa7c8e78de0] (active, names: '|':Intercom.ConversationHistoryCard:0x7fa7c8e75350 )>",
"<NSLayoutConstraint:0x6000014b9ea0 UIStackView:0x7fa7c8e78de0.trailing == Intercom.ConversationHistoryCard:0x7fa7c8e75350.trailing - 24 (active)>",
"<NSLayoutConstraint:0x6000014ba8f0 '_UITemporaryLayoutWidth' Intercom.ConversationHistoryCard:0x7fa7c8e75350.width == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x6000014ba580 UIView:0x7fa7c8e734d0.width == UIStackView:0x7fa7c8e78de0.width (active)>
eLayoutConstraints] 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:0x6000014b9b30 H:|-(24)-)UIStackView:0x7fa7c8e78de0] (active, names: '|':Intercom.ConversationHistoryCard:0x7fa7c8e75350 )>",
"<NSLayoutConstraint:0x6000014b9ea0 UIStackView:0x7fa7c8e78de0.trailing == Intercom.ConversationHistoryCard:0x7fa7c8e75350.trailing - 24 (active)>",
"<NSLayoutConstraint:0x6000014ba8f0 '_UITemporaryLayoutWidth' Intercom.ConversationHistoryCard:0x7fa7c8e75350.width == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x6000014b9ea0 UIStackView:0x7fa7c8e78de0.trailing == Intercom.ConversationHistoryCard:0x7fa7c8e75350.trailing - 24 (active)>
dLayoutConstraints] 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:0x6000014b90e0 V:|-(24)-4UIStackView:0x7fa7c8e78de0] (active, names: '|':Intercom.ConversationHistoryCard:0x7fa7c8e75350 )>",
"<NSLayoutConstraint:0x6000014b8cd0 UIStackView:0x7fa7c8e78de0.bottom == Intercom.ConversationHistoryCard:0x7fa7c8e75350.bottom - 24 (active)>",
"<NSLayoutConstraint:0x6000014baad0 '_UITemporaryLayoutHeight' Intercom.ConversationHistoryCard:0x7fa7c8e75350.height == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x6000014b8cd0 UIStackView:0x7fa7c8e78de0.bottom == Intercom.ConversationHistoryCard:0x7fa7c8e75350.bottom - 24 (active)>
Any help to be get rid of the crash, would be appreciated. Thank you.