Post

Replies

Boosts

Views

Activity

Comment on problem with a series of if statements
Now it refuses to print anything it returns the following : 2022-05-31 12:26:16.459942-0300 NoziMVVM[69131:1573765] [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:0x600001e49310 'BIB_Trailing_CB_Leading' H:[_UIModernBarButton:0x1488183f0]-(6)-[_UIModernBarButton:0x1488109d0'noziCalc']  (active)>",   "<NSLayoutConstraint:0x600001e49360 'CB_Trailing_Trailing' _UIModernBarButton:0x1488109d0'noziCalc'.trailing <= _UIButtonBarButton:0x146f0a9b0.trailing  (active)>",   "<NSLayoutConstraint:0x600001e56620 'UINav_static_button_horiz_position' _UIModernBarButton:0x1488183f0.leading == UILayoutGuide:0x6000004789a0'UIViewLayoutMarginsGuide'.leading  (active)>",   "<NSLayoutConstraint:0x600001e56670 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x146f0a9b0]-(6)-[UILayoutGuide:0x6000004788c0'UINavigationBarItemContentLayoutGuide']  (active)>",   "<NSLayoutConstraint:0x600001e5c7d0 'UINavItemContentGuide-trailing' UILayoutGuide:0x6000004788c0'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x146f093e0.trailing  (active)>",   "<NSLayoutConstraint:0x600001e42d00 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x146f093e0.width == 0  (active)>",   "<NSLayoutConstraint:0x600001e5c410 'UIView-leftMargin-guide-constraint' H:|-(8)-  (active, names: '|':_UINavigationBarContentView:0x146f093e0 )>" ) Will attempt to recover by breaking constraint  <NSLayoutConstraint:0x600001e49310 'BIB_Trailing_CB_Leading' H:[_UIModernBarButton:0x1488183f0]-(6)-[_UIModernBarButton:0x1488109d0'noziCalc']  (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. 2022-05-31 12:26:16.460578-0300 NoziMVVM[69131:1573765] [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:0x600001e492c0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x1488183f0]  (active, names: '|':_UIButtonBarButton:0x146f0a9b0 )>",   "<NSLayoutConstraint:0x600001e56620 'UINav_static_button_horiz_position' _UIModernBarButton:0x1488183f0.leading == UILayoutGuide:0x6000004789a0'UIViewLayoutMarginsGuide'.leading  (active)>",   "<NSLayoutConstraint:0x600001e56670 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x146f0a9b0]-(6)-[UILayoutGuide:0x6000004788c0'UINavigationBarItemContentLayoutGuide']  (active)>",   "<NSLayoutConstraint:0x600001e5c7d0 'UINavItemContentGuide-trailing' UILayoutGuide:0x6000004788c0'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x146f093e0.trailing  (active)>",   "<NSLayoutConstraint:0x600001e42d00 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x146f093e0.width == 0  (active)>",   "<NSLayoutConstraint:0x600001e5c410 'UIView-leftMargin-guide-constraint' H:|-(8) ) Will attempt to recover by breaking constraint  <NSLayoutConstraint:0x600001e492c0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x1488183f0]  (active, names: '|':_UIButtonBarButton:0x146f0a9b0 )> 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. 2022-05-31 12:26:16.467619-0300 NoziMVVM[69131:1573765] [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:0x600001e55f40 UIView:0x14881cdf0.trailing == _UIBackButtonMaskView:0x14881c690.trailing  (active)>",   "<NSLayoutConstraint:0x600001e49900 'Mask_Trailing_Trailing' _UIBackButtonMaskView:0x14881c690.trailing == _UIButtonBarButton:0x146f0a9b0.trailing  (active)>",   "<NSLayoutConstraint:0x600001e49a40 'MaskEV_Leading_BIB_Trailing' H:[_UIModernBarButton:0x1488183f0]-(0)-[UIView:0x14881cdf0]  (active)>",   "<NSLayoutConstraint:0x600001e56620 'UINav_static_button_horiz_position' _UIModernBarButton:0x1488183f0.leading == UILayoutGuide:0x6000004789a0'UIViewLayoutMarginsGuide'.leading  (active)>",   "<NSLayoutConstraint:0x600001e56670 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x146f0a9b0]-(6)-[UILayoutGuide:0x6000004788c0'UINavigationBarItemContentLayoutGuide']  (active)>",   "<NSLayoutConstraint:0x600001e5c7d0 'UINavItemContentGuide-trailing' UILayoutGuide:0x6000004788c0'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x146f093e0.trailing  (active)>",   "<NSLayoutConstraint:0x600001e42d00 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x146f093e0.width == 0  (active)>",   "<NSLayoutConstraint:0x600001e5c410 'UIView-leftMargin-guide-constraint' H:|-(8)- (active, names: '|':_UINavigationBarContentView:0x146f093e0 )>" ) Will attempt to recover by breaking constraint  <NSLayoutConstraint:0x600001e55f40 UIView:0x14881cdf0.trailing == _UIBackButtonMaskView:0x14881c690.trailing  (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. 2022-05-31 12:26:21.091643-0300 NoziMVVM[69131:1573765] [HardwareKeyboard] -[UIApplication getKeyboardDevicePropertiesForSenderID:shouldUpdate:usingSyntheticEvent:], failed to fetch device property for senderID (778835616971358211) use primary keyboard info instead. 2022-05-31 12:26:21.093458-0300 NoziMVVM[69131:1573765] [HardwareKeyboard] -[UIApplication getKeyboardDevicePropertiesForSenderID:shouldUpdate:usingSyntheticEvent:], failed to fetch device property for senderID (778835616971358211) use primary keyboard info instead.
May ’22