cpisciotta / xcbeautify

A little beautifier tool for xcodebuild
MIT License
939 stars 65 forks source link

[New Output] Support Conflicting AutoLayout Constraints Output #214

Open cpisciotta opened 7 months ago

cpisciotta commented 7 months ago

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

github-actions[bot] commented 6 months ago

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.