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

[New Output] Support Conflicting AutoLayout Constraints Output #214

Open
cpisciotta opened this issue Dec 29, 2023 · 1 comment
Open

[New Output] Support Conflicting AutoLayout Constraints Output #214

cpisciotta opened this issue Dec 29, 2023 · 1 comment
Labels

Comments

@cpisciotta
Copy link
Owner

What's the uncaptured output?

2023-12-29 11:54:23.499970-0500 SomeProject[1234:5678] [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:0x1234567890 h=-&- v=-&- UITransitionView:0x123456.minY == 0   (active, names: '|':UIWindow:0x123456 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x1234567890 h=-&- v=-&- V:[UITransitionView:0x123456]-(0)-|   (active, names: '|':UIWindow:0x123456 )>",
    ...
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x1234 UIView:0x1234.top == _UIAlertControllerInterfaceActionGroupView:0x1234.top   (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.

Suggested Regex

No response

Suggested Output

No response

Additional Context

No response

@cpisciotta cpisciotta added uncaptured output help wanted Extra attention is needed labels Dec 29, 2023
Copy link

Hola 👋,

We want to inform you that the issue has been marked as stale. This means that there hasn't been any activity or updates on it for quite some time, and it's possible that it may no longer be relevant or actionable.
If you still believe that this issue is valid and requires attention, please provide an update or any additional information that can help us address it. Otherwise, we may consider closing it in the near future.
Thank you for your understanding.

@github-actions github-actions bot added the stale label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant