Readium test app spin up on simulator - Simulator slows down completely (almost unable to click anything) and this error log shows up in the simulator logs.
We saw the same issue when we integrated Readium library into our app.
any suggestions ?
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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000e8f5c0 h=--& v=--& _UIToolbarContentView:0x7fcf2625cab0.width == 0 (active)>",
"<NSLayoutConstraint:0x600000ee5ae0 H:|-(0)-[_UIButtonBarStackView:0x7fcf23c536a0] (active, names: '|':_UIToolbarContentView:0x7fcf2625cab0 )>",
"<NSLayoutConstraint:0x600000ee5b80 H:[_UIButtonBarStackView:0x7fcf23c536a0]-(0)-| (active, names: '|':_UIToolbarContentView:0x7fcf2625cab0 )>",
"<NSLayoutConstraint:0x600000e9fb10 'IB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x7fcf25631000] (active, names: '|':_UIButtonBarButton:0x7fcf25630e30 )>",
"<NSLayoutConstraint:0x600000efb020 'IB_Leading_Leading' H:|-(>=5)-[_UIModernBarButton:0x7fcf25631c70] (active, names: '|':_UIButtonBarButton:0x7fcf25631aa0 )>",
"<NSLayoutConstraint:0x600000e9f980 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf25631000]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fcf25630e30 )>",
"<NSLayoutConstraint:0x600000efaf80 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf25631c70]-(0)-| (active, names: '|':_UIButtonBarButton:0x7fcf25631aa0 )>",
"<NSLayoutConstraint:0x600000e8d540 'UISV-canvas-connection' UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'.leading == UIView:0x7fcf25630cc0.leading (active)>",
"<NSLayoutConstraint:0x600000e8dd60 'UISV-canvas-connection' UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'.trailing == UIView:0x7fcf25632430.trailing (active)>",
"<NSLayoutConstraint:0x600000e8da40 'UISV-spacing' H:[UIView:0x7fcf25630cc0]-(0)-[_UIButtonBarButton:0x7fcf25630e30] (active)>",
"<NSLayoutConstraint:0x600000e8f250 'UISV-spacing' H:[_UIButtonBarButton:0x7fcf25630e30]-(0)-[UIView:0x7fcf25631930] (active)>",
"<NSLayoutConstraint:0x600000e8d5e0 'UISV-spacing' H:[UIView:0x7fcf25631930]-(0)-[_UIButtonBarButton:0x7fcf25631aa0] (active)>",
"<NSLayoutConstraint:0x600000e8e3a0 'UISV-spacing' H:[_UIButtonBarButton:0x7fcf25631aa0]-(0)-[UIView:0x7fcf25632430] (active)>",
"<NSLayoutConstraint:0x600000ee7160 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x7fcf23c536a0 )>",
"<NSLayoutConstraint:0x600000ee5c20 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fcf23c536a0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000e9f980 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf25631000]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fcf25630e30 )>
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-07-19 23:47:48.760344-0700 r2-testapp-swift[7617:3234887] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000e8f5c0 h=--& v=--& _UIToolbarContentView:0x7fcf2625cab0.width == 0 (active)>",
"<NSLayoutConstraint:0x600000ee5ae0 H:|-(0)-[_UIButtonBarStackView:0x7fcf23c536a0] (active, names: '|':_UIToolbarContentView:0x7fcf2625cab0 )>",
"<NSLayoutConstraint:0x600000ee5b80 H:[_UIButtonBarStackView:0x7fcf23c536a0]-(0)-| (active, names: '|':_UIToolbarContentView:0x7fcf2625cab0 )>",
"<NSLayoutConstraint:0x600000efb020 'IB_Leading_Leading' H:|-(>=5)-[_UIModernBarButton:0x7fcf25631c70] (active, names: '|':_UIButtonBarButton:0x7fcf25631aa0 )>",
"<NSLayoutConstraint:0x600000efaf80 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf25631c70]-(0)-| (active, names: '|':_UIButtonBarButton:0x7fcf25631aa0 )>",
"<NSLayoutConstraint:0x600000e8d540 'UISV-canvas-connection' UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'.leading == UIView:0x7fcf25630cc0.leading (active)>",
"<NSLayoutConstraint:0x600000e8dd60 'UISV-canvas-connection' UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'.trailing == UIView:0x7fcf25632430.trailing (active)>",
"<NSLayoutConstraint:0x600000e8da40 'UISV-spacing' H:[UIView:0x7fcf25630cc0]-(0)-[_UIButtonBarButton:0x7fcf25630e30] (active)>",
"<NSLayoutConstraint:0x600000e8f250 'UISV-spacing' H:[_UIButtonBarButton:0x7fcf25630e30]-(0)-[UIView:0x7fcf25631930] (active)>",
"<NSLayoutConstraint:0x600000e8d5e0 'UISV-spacing' H:[UIView:0x7fcf25631930]-(0)-[_UIButtonBarButton:0x7fcf25631aa0] (active)>",
"<NSLayoutConstraint:0x600000e8e3a0 'UISV-spacing' H:[_UIButtonBarButton:0x7fcf25631aa0]-(0)-[UIView:0x7fcf25632430] (active)>",
"<NSLayoutConstraint:0x600000ee7160 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x7fcf23c536a0 )>",
"<NSLayoutConstraint:0x600000ee5c20 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fcf23c536a0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000efaf80 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf25631c70]-(0)-| (active, names: '|':_UIButtonBarButton:0x7fcf25631aa0 )>
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-07-19 23:47:48.762748-0700 r2-testapp-swift[7617:3234887] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000e8edf0 h=--& v=--& _UIToolbarContentView:0x7fcf2625cab0.height == 0 (active)>",
"<NSLayoutConstraint:0x600000ee5f40 V:|-(0)-[_UIButtonBarStackView:0x7fcf23c536a0] (active, names: '|':_UIToolbarContentView:0x7fcf2625cab0 )>",
"<NSLayoutConstraint:0x600000ee5fe0 _UIButtonBarStackView:0x7fcf23c536a0.bottom == _UIToolbarContentView:0x7fcf2625cab0.bottom (active)>",
"<NSLayoutConstraint:0x600000e8d1d0 UIImageView:0x7fcf25631760.centerY == _UIModernBarButton:0x7fcf25631000.centerY (active)>",
"<NSLayoutConstraint:0x600000ee19f0 'IB_Baseline_Baseline' _UIModernBarButton:0x7fcf25631000.lastBaseline == UILayoutGuide:0x6000014d09a0'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600000ee3f70 'IB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x7fcf25631000] (active, names: '|':_UIButtonBarButton:0x7fcf25630e30 )>",
"<NSLayoutConstraint:0x600000ef63f0 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x7fcf25630e30.height == UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'.height (active)>",
"<NSLayoutConstraint:0x600000ee5720 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide']-(0)-| (active, names: '|':_UIButtonBarStackView:0x7fcf23c536a0 )>",
"<NSLayoutConstraint:0x600000e9fb60 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000014d09a0'UIViewLayoutMarginsGuide']-(11)-| (active, names: '|':_UIButtonBarButton:0x7fcf25630e30 )>",
"<NSLayoutConstraint:0x600000ee6030 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'] (active, names: '|':_UIButtonBarStackView:0x7fcf23c536a0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000e8d1d0 UIImageView:0x7fcf25631760.centerY == _UIModernBarButton:0x7fcf25631000.centerY (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-07-19 23:47:48.764156-0700 r2-testapp-swift[7617:3234887] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000e8edf0 h=--& v=--& _UIToolbarContentView:0x7fcf2625cab0.height == 0 (active)>",
"<NSLayoutConstraint:0x600000ee5f40 V:|-(0)-[_UIButtonBarStackView:0x7fcf23c536a0] (active, names: '|':_UIToolbarContentView:0x7fcf2625cab0 )>",
"<NSLayoutConstraint:0x600000ee5fe0 _UIButtonBarStackView:0x7fcf23c536a0.bottom == _UIToolbarContentView:0x7fcf2625cab0.bottom (active)>",
"<NSLayoutConstraint:0x600000ee3ca0 UIImageView:0x7fcf25632260.centerY == _UIModernBarButton:0x7fcf25631c70.centerY (active)>",
"<NSLayoutConstraint:0x600000efdef0 'IB_Baseline_Baseline' _UIModernBarButton:0x7fcf25631c70.lastBaseline == UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600000edbf70 'IB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x7fcf25631c70] (active, names: '|':_UIButtonBarButton:0x7fcf25631aa0 )>",
"<NSLayoutConstraint:0x600000edbe30 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x7fcf25631aa0.height == UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'.height (active)>",
"<NSLayoutConstraint:0x600000ee5720 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide']-(0)-| (active, names: '|':_UIButtonBarStackView:0x7fcf23c536a0 )>",
"<NSLayoutConstraint:0x600000efe260 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide']-(11)-| (active, names: '|':_UIButtonBarButton:0x7fcf25631aa0 )>",
"<NSLayoutConstraint:0x600000ee6030 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x6000014df100'UIViewLayoutMarginsGuide'] (active, names: '|':_UIButtonBarStackView:0x7fcf23c536a0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000ee3ca0 UIImageView:0x7fcf25632260.centerY == _UIModernBarButton:0x7fcf25631c70.centerY (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.
⚫ PublicationServer.swift:248: Publication at 1.cbz has been successfully removed.
⚫ PublicationServer.swift:148: Publication at 6.epub has been successfully added.
⚫ EPUBParser.swift:191: No media-overlays found in the Publication.
2020-07-19 23:47:54.701861-0700 r2-testapp-swift[7617:3234887] WF: === Starting WebFilter logging for process r2-testapp-swift
2020-07-19 23:47:54.702063-0700 r2-testapp-swift[7617:3234887] WF: _userSettingsForUser : (null)
2020-07-19 23:47:54.702217-0700 r2-testapp-swift[7617:3234887] WF: _WebFilterIsActive returning: NO
2020-07-19 23:47:54.936293-0700 r2-testapp-swift[7617:3234887] WF: _userSettingsForUser : (null)
2020-07-19 23:47:54.936407-0700 r2-testapp-swift[7617:3234887] WF: _WebFilterIsActive returning: NO
2020-07-19 23:47:54.972228-0700 r2-testapp-swift[7617:3234887] WF: _userSettingsForUser : (null)
2020-07-19 23:47:54.972360-0700 r2-testapp-swift[7617:3234887] WF: _WebFilterIsActive returning: NO
2020-07-19 23:47:54.989230-0700 r2-testapp-swift[7617:3234887] WF: _userSettingsForUser : (null)
2020-07-19 23:47:54.989384-0700 r2-testapp-swift[7617:3234887] WF: _WebFilterIsActive returning: NO
2020-07-19 23:47:55.074089-0700 r2-testapp-swift[7617:3234887] WF: _userSettingsForUser : (null)
2020-07-19 23:47:55.074274-0700 r2-testapp-swift[7617:3234887] WF: _WebFilterIsActive returning: NO
2020-07-19 23:47:55.359473-0700 r2-testapp-swift[7617:3234887] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000e80cd0 h=--& v=--& _UIToolbarContentView:0x7fcf2561bed0.width == 0 (active)>",
"<NSLayoutConstraint:0x600000ecbd40 H:|-(0)-[_UIButtonBarStackView:0x7fcf25631190] (active, names: '|':_UIToolbarContentView:0x7fcf2561bed0 )>",
"<NSLayoutConstraint:0x600000ecbcf0 H:[_UIButtonBarStackView:0x7fcf25631190]-(0)-| (active, names: '|':_UIToolbarContentView:0x7fcf2561bed0 )>",
"<NSLayoutConstraint:0x600000ef34d0 'IB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x7fcf2630c870] (active, names: '|':_UIButtonBarButton:0x7fcf2630c6a0 )>",
"<NSLayoutConstraint:0x600000ef3ac0 'IB_Leading_Leading' H:|-(>=5)-[_UIModernBarButton:0x7fcf2630d370] (active, names: '|':_UIButtonBarButton:0x7fcf2630d1a0 )>",
"<NSLayoutConstraint:0x600000ef3520 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf2630c870]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fcf2630c6a0 )>",
"<NSLayoutConstraint:0x600000ef3b10 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf2630d370]-(0)-| (active, names: '|':_UIButtonBarButton:0x7fcf2630d1a0 )>",
"<NSLayoutConstraint:0x600000e80050 'UISV-canvas-connection' UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'.leading == UIView:0x7fcf2630c530.leading (active)>",
"<NSLayoutConstraint:0x600000e80370 'UISV-canvas-connection' UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'.trailing == UIView:0x7fcf2630db30.trailing (active)>",
"<NSLayoutConstraint:0x600000e803c0 'UISV-spacing' H:[UIView:0x7fcf2630c530]-(0)-[_UIButtonBarButton:0x7fcf2630c6a0] (active)>",
"<NSLayoutConstraint:0x600000e80410 'UISV-spacing' H:[_UIButtonBarButton:0x7fcf2630c6a0]-(0)-[UIView:0x7fcf2630d030] (active)>",
"<NSLayoutConstraint:0x600000e80460 'UISV-spacing' H:[UIView:0x7fcf2630d030]-(0)-[_UIButtonBarButton:0x7fcf2630d1a0] (active)>",
"<NSLayoutConstraint:0x600000e804b0 'UISV-spacing' H:[_UIButtonBarButton:0x7fcf2630d1a0]-(0)-[UIView:0x7fcf2630db30] (active)>",
"<NSLayoutConstraint:0x600000ecb7f0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x7fcf25631190 )>",
"<NSLayoutConstraint:0x600000ecb8e0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fcf25631190 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000ef3520 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf2630c870]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fcf2630c6a0 )>
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-07-19 23:47:55.372179-0700 r2-testapp-swift[7617:3234887] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000e80cd0 h=--& v=--& _UIToolbarContentView:0x7fcf2561bed0.width == 0 (active)>",
"<NSLayoutConstraint:0x600000ecbd40 H:|-(0)-[_UIButtonBarStackView:0x7fcf25631190] (active, names: '|':_UIToolbarContentView:0x7fcf2561bed0 )>",
"<NSLayoutConstraint:0x600000ecbcf0 H:[_UIButtonBarStackView:0x7fcf25631190]-(0)-| (active, names: '|':_UIToolbarContentView:0x7fcf2561bed0 )>",
"<NSLayoutConstraint:0x600000ef3ac0 'IB_Leading_Leading' H:|-(>=5)-[_UIModernBarButton:0x7fcf2630d370] (active, names: '|':_UIButtonBarButton:0x7fcf2630d1a0 )>",
"<NSLayoutConstraint:0x600000ef3b10 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf2630d370]-(0)-| (active, names: '|':_UIButtonBarButton:0x7fcf2630d1a0 )>",
"<NSLayoutConstraint:0x600000e80050 'UISV-canvas-connection' UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'.leading == UIView:0x7fcf2630c530.leading (active)>",
"<NSLayoutConstraint:0x600000e80370 'UISV-canvas-connection' UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'.trailing == UIView:0x7fcf2630db30.trailing (active)>",
"<NSLayoutConstraint:0x600000e803c0 'UISV-spacing' H:[UIView:0x7fcf2630c530]-(0)-[_UIButtonBarButton:0x7fcf2630c6a0] (active)>",
"<NSLayoutConstraint:0x600000e80410 'UISV-spacing' H:[_UIButtonBarButton:0x7fcf2630c6a0]-(0)-[UIView:0x7fcf2630d030] (active)>",
"<NSLayoutConstraint:0x600000e80460 'UISV-spacing' H:[UIView:0x7fcf2630d030]-(0)-[_UIButtonBarButton:0x7fcf2630d1a0] (active)>",
"<NSLayoutConstraint:0x600000e804b0 'UISV-spacing' H:[_UIButtonBarButton:0x7fcf2630d1a0]-(0)-[UIView:0x7fcf2630db30] (active)>",
"<NSLayoutConstraint:0x600000ecb7f0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x7fcf25631190 )>",
"<NSLayoutConstraint:0x600000ecb8e0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fcf25631190 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000ef3b10 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fcf2630d370]-(0)-| (active, names: '|':_UIButtonBarButton:0x7fcf2630d1a0 )>
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-07-19 23:47:55.377926-0700 r2-testapp-swift[7617:3234887] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000e80d70 h=--& v=--& _UIToolbarContentView:0x7fcf2561bed0.height == 0 (active)>",
"<NSLayoutConstraint:0x600000ecbc00 V:|-(0)-[_UIButtonBarStackView:0x7fcf25631190] (active, names: '|':_UIToolbarContentView:0x7fcf2561bed0 )>",
"<NSLayoutConstraint:0x600000ecbbb0 _UIButtonBarStackView:0x7fcf25631190.bottom == _UIToolbarContentView:0x7fcf2561bed0.bottom (active)>",
"<NSLayoutConstraint:0x600000ebcf50 UIImageView:0x7fcf2630ce60.centerY == _UIModernBarButton:0x7fcf2630c870.centerY (active)>",
"<NSLayoutConstraint:0x600000ef37a0 'IB_Baseline_Baseline' _UIModernBarButton:0x7fcf2630c870.lastBaseline == UILayoutGuide:0x6000014c1880'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600000ef37f0 'IB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x7fcf2630c870] (active, names: '|':_UIButtonBarButton:0x7fcf2630c6a0 )>",
"<NSLayoutConstraint:0x600000ef3980 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x7fcf2630c6a0.height == UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'.height (active)>",
"<NSLayoutConstraint:0x600000ecb890 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide']-(0)-| (active, names: '|':_UIButtonBarStackView:0x7fcf25631190 )>",
"<NSLayoutConstraint:0x600000ef3700 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000014c1880'UIViewLayoutMarginsGuide']-(11)-| (active, names: '|':_UIButtonBarButton:0x7fcf2630c6a0 )>",
"<NSLayoutConstraint:0x600000ecbb60 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'] (active, names: '|':_UIButtonBarStackView:0x7fcf25631190 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000ebcf50 UIImageView:0x7fcf2630ce60.centerY == _UIModernBarButton:0x7fcf2630c870.centerY (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-07-19 23:47:55.386018-0700 r2-testapp-swift[7617:3234887] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000e80d70 h=--& v=--& _UIToolbarContentView:0x7fcf2561bed0.height == 0 (active)>",
"<NSLayoutConstraint:0x600000ecbc00 V:|-(0)-[_UIButtonBarStackView:0x7fcf25631190] (active, names: '|':_UIToolbarContentView:0x7fcf2561bed0 )>",
"<NSLayoutConstraint:0x600000ecbbb0 _UIButtonBarStackView:0x7fcf25631190.bottom == _UIToolbarContentView:0x7fcf2561bed0.bottom (active)>",
"<NSLayoutConstraint:0x600000eee210 UIImageView:0x7fcf2630d960.centerY == _UIModernBarButton:0x7fcf2630d370.centerY (active)>",
"<NSLayoutConstraint:0x600000ef3d90 'IB_Baseline_Baseline' _UIModernBarButton:0x7fcf2630d370.lastBaseline == UILayoutGuide:0x6000014c1960'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600000ef3de0 'IB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x7fcf2630d370] (active, names: '|':_UIButtonBarButton:0x7fcf2630d1a0 )>",
"<NSLayoutConstraint:0x600000ef3f70 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x7fcf2630d1a0.height == UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'.height (active)>",
"<NSLayoutConstraint:0x600000ecb890 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide']-(0)-| (active, names: '|':_UIButtonBarStackView:0x7fcf25631190 )>",
"<NSLayoutConstraint:0x600000ef3cf0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000014c1960'UIViewLayoutMarginsGuide']-(11)-| (active, names: '|':_UIButtonBarButton:0x7fcf2630d1a0 )>",
"<NSLayoutConstraint:0x600000ecbb60 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x6000014d0c40'UIViewLayoutMarginsGuide'] (active, names: '|':_UIButtonBarStackView:0x7fcf25631190 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000eee210 UIImageView:0x7fcf2630d960.centerY == _UIModernBarButton:0x7fcf2630d370.centerY (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.
OS: Catalina 10.15.6 Simulator device - iPhone SE (2nd generation) Simulator version details:
Xcode = Version 11.6 (11E708) Readium version = https://github.com/readium/r2-workspace-swift#inttestapp
Issue: