Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excess Navigation View after Login #18

Open
ameysunu opened this issue Oct 2, 2021 · 2 comments
Open

Excess Navigation View after Login #18

ameysunu opened this issue Oct 2, 2021 · 2 comments
Assignees
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed

Comments

@ameysunu
Copy link
Owner

ameysunu commented Oct 2, 2021

Steps to Reproduce

  • Login with your credentials, fill in the required details.
  • Click Continue to navigate to next screen.
  • An excess padding/navigation view is seen, which will automatically disappear one moving to the next tab.

Xcode 13 Logs:

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.
2021-10-02 11:39:26.520018+0100 mongodb-swiftui[70464:1318710] [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:0x6000000c80f0 UIView:0x15002c830.trailing == _UIBackButtonMaskView:0x15002c4d0.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000c8820 'Mask_Trailing_Trailing' _UIBackButtonMaskView:0x15002c4d0.trailing == _UIButtonBarButton:0x15002b9a0.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000c8960 'MaskEV_Leading_BIB_Trailing' H:[_UIModernBarButton:0x15002c1f0]-(0)-[UIView:0x15002c830]   (active)>",
    "<NSLayoutConstraint:0x6000000c7a20 'UINav_static_button_horiz_position' _UIModernBarButton:0x15002c1f0.leading == UILayoutGuide:0x600001adc8c0'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000000c6df0 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x15002b9a0]-(6)-[UILayoutGuide:0x600001aded80'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x600000085630 'UINavItemContentGuide-trailing' UILayoutGuide:0x600001aded80'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x15002abd0.trailing   (active)>",
    "<NSLayoutConstraint:0x600000032850 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x15002abd0.width == 0   (active)>",
    "<NSLayoutConstraint:0x600000085860 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600001adc8c0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x15002abd0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000000c80f0 UIView:0x15002c830.trailing == _UIBackButtonMaskView:0x15002c4d0.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.
2021-10-02 11:39:26.520280+0100 mongodb-swiftui[70464:1318710] [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:0x6000000c81e0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x15002c1f0]   (active, names: '|':_UIButtonBarButton:0x15002b9a0 )>",
    "<NSLayoutConstraint:0x6000000c7a20 'UINav_static_button_horiz_position' _UIModernBarButton:0x15002c1f0.leading == UILayoutGuide:0x600001adc8c0'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000000c6df0 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x15002b9a0]-(6)-[UILayoutGuide:0x600001aded80'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x600000085630 'UINavItemContentGuide-trailing' UILayoutGuide:0x600001aded80'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x15002abd0.trailing   (active)>",
    "<NSLayoutConstraint:0x600000032850 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x15002abd0.width == 0   (active)>",
    "<NSLayoutConstraint:0x600000085860 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600001adc8c0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x15002abd0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000000c81e0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x15002c1f0]   (active, names: '|':_UIButtonBarButton:0x15002b9a0 )>

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.
2021-10-02 11:39:26.530750+0100 mongodb-swiftui[70464:1318710] [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:0x600000034690 UIView:0x14de9b0a0.trailing == _UIBackButtonMaskView:0x14de9ad40.trailing   (active)>",
    "<NSLayoutConstraint:0x600000035130 'Mask_Trailing_Trailing' _UIBackButtonMaskView:0x14de9ad40.trailing == _UIButtonBarButton:0x14de9a210.trailing   (active)>",
    "<NSLayoutConstraint:0x600000035270 'MaskEV_Leading_BIB_Trailing' H:[_UIModernBarButton:0x14de9aa60]-(0)-[UIView:0x14de9b0a0]   (active)>",
    "<NSLayoutConstraint:0x6000000354a0 'UINav_static_button_horiz_position' _UIModernBarButton:0x14de9aa60.leading == UILayoutGuide:0x600001aca760'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000000354f0 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x14de9a210]-(6)-[UILayoutGuide:0x600001acaa00'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x6000000c7ca0 'UINavItemContentGuide-trailing' UILayoutGuide:0x600001acaa00'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x14de99440.trailing   (active)>",
    "<NSLayoutConstraint:0x600000039f40 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x14de99440.width == 0   (active)>",
    "<NSLayoutConstraint:0x6000000bb7f0 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600001aca760'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x14de99440 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x600000034690 UIView:0x14de9b0a0.trailing == _UIBackButtonMaskView:0x14de9ad40.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.
2021-10-02 11:39:26.531390+0100 mongodb-swiftui[70464:1318710] [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:0x600000034b40 'BIB_Trailing_CB_Leading' H:[_UIModernBarButton:0x14de9aa60]-(6)-[_UIModernBarButton:0x14de9a3f0'People Around You']   (active)>",
    "<NSLayoutConstraint:0x600000034b90 'CB_Trailing_Trailing' _UIModernBarButton:0x14de9a3f0'People Around You'.trailing <= _UIButtonBarButton:0x14de9a210.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000354a0 'UINav_static_button_horiz_position' _UIModernBarButton:0x14de9aa60.leading == UILayoutGuide:0x600001aca760'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000000354f0 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x14de9a210]-(6)-[UILayoutGuide:0x600001acaa00'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x6000000c7ca0 'UINavItemContentGuide-trailing' UILayoutGuide:0x600001acaa00'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x14de99440.trailing   (active)>",
    "<NSLayoutConstraint:0x600000039f40 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x14de99440.width == 0   (active)>",
    "<NSLayoutConstraint:0x6000000bb7f0 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600001aca760'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x14de99440 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x600000034b40 'BIB_Trailing_CB_Leading' H:[_UIModernBarButton:0x14de9aa60]-(6)-[_UIModernBarButton:0x14de9a3f0'People Around You']   (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.
2021-10-02 11:39:26.531965+0100 mongodb-swiftui[70464:1318710] [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:0x600000034af0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x14de9aa60]   (active, names: '|':_UIButtonBarButton:0x14de9a210 )>",
    "<NSLayoutConstraint:0x6000000354a0 'UINav_static_button_horiz_position' _UIModernBarButton:0x14de9aa60.leading == UILayoutGuide:0x600001aca760'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000000354f0 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x14de9a210]-(6)-[UILayoutGuide:0x600001acaa00'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x6000000c7ca0 'UINavItemContentGuide-trailing' UILayoutGuide:0x600001acaa00'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x14de99440.trailing   (active)>",
    "<NSLayoutConstraint:0x600000039f40 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x14de99440.width == 0   (active)>",
    "<NSLayoutConstraint:0x6000000bb7f0 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600001aca760'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x14de99440 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x600000034af0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x14de9aa60]   (active, names: '|':_UIButtonBarButton:0x14de9a210 )>

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.
2021-10-02 11:39:43.392375+0100 mongodb-swiftui[70464:1318710] [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:0x6000000ceb70 'BIB_Trailing_CB_Leading' H:[_UIModernBarButton:0x14de058e0]-(6)-[_UIModernBarButton:0x14dd63c00'People Around You']   (active)>",
    "<NSLayoutConstraint:0x6000000ceb20 'CB_Trailing_Trailing' _UIModernBarButton:0x14dd63c00'People Around You'.trailing <= _UIButtonBarButton:0x14dd63a20.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000ce210 'UINav_static_button_horiz_position' _UIModernBarButton:0x14de058e0.leading == UILayoutGuide:0x600001a21ea0'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000000ce1c0 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x14dd63a20]-(6)-[UILayoutGuide:0x600001a21dc0'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x60000003e3a0 'UINavItemContentGuide-trailing' UILayoutGuide:0x600001a21dc0'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x14dd62c50.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000cf8e0 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x14dd62c50.width == 0   (active)>",
    "<NSLayoutConstraint:0x60000003e760 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600001a21ea0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x14dd62c50 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000000ceb70 'BIB_Trailing_CB_Leading' H:[_UIModernBarButton:0x14de058e0]-(6)-[_UIModernBarButton:0x14dd63c00'People Around You']   (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.
2021-10-02 11:39:43.393472+0100 mongodb-swiftui[70464:1318710] [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:0x6000000cfbb0 UIView:0x14de28820.trailing == _UIBackButtonMaskView:0x14de83330.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000ce580 'Mask_Trailing_Trailing' _UIBackButtonMaskView:0x14de83330.trailing == _UIButtonBarButton:0x14dd63a20.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000ce440 'MaskEV_Leading_BIB_Trailing' H:[_UIModernBarButton:0x14de058e0]-(0)-[UIView:0x14de28820]   (active)>",
    "<NSLayoutConstraint:0x6000000ce210 'UINav_static_button_horiz_position' _UIModernBarButton:0x14de058e0.leading == UILayoutGuide:0x600001a21ea0'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000000ce1c0 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x14dd63a20]-(6)-[UILayoutGuide:0x600001a21dc0'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x60000003e3a0 'UINavItemContentGuide-trailing' UILayoutGuide:0x600001a21dc0'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x14dd62c50.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000cf8e0 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x14dd62c50.width == 0   (active)>",
    "<NSLayoutConstraint:0x60000003e760 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600001a21ea0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x14dd62c50 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000000cfbb0 UIView:0x14de28820.trailing == _UIBackButtonMaskView:0x14de83330.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.
2021-10-02 11:39:43.411042+0100 mongodb-swiftui[70464:1318710] [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:0x6000000cebc0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x14de058e0]   (active, names: '|':_UIButtonBarButton:0x14dd63a20 )>",
    "<NSLayoutConstraint:0x6000000ce210 'UINav_static_button_horiz_position' _UIModernBarButton:0x14de058e0.leading == UILayoutGuide:0x600001a21ea0'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000000ce1c0 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x14dd63a20]-(6)-[UILayoutGuide:0x600001a21dc0'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x60000003e3a0 'UINavItemContentGuide-trailing' UILayoutGuide:0x600001a21dc0'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x14dd62c50.trailing   (active)>",
    "<NSLayoutConstraint:0x6000000cf8e0 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x14dd62c50.width == 0   (active)>",
    "<NSLayoutConstraint:0x60000003e760 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600001a21ea0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x14dd62c50 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000000cebc0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x14de058e0]   (active, names: '|':_UIButtonBarButton:0x14dd63a20 )>

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.

Note

This issue can only be seen in Xcode 13, and iOS 15.0 emulators.

@ameysunu ameysunu added bug Something isn't working help wanted Extra attention is needed hacktoberfest labels Oct 2, 2021
@TiwariPreeti
Copy link

Please assign this issue to me.

@ameysunu
Copy link
Owner Author

ameysunu commented Oct 5, 2021

Please assign this issue to me.

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants