Opening the dev menu gives a warning: "Unable to simultaneously satisfy constraints"
See original GitHub issueReact Native version:
v0.60-rc2
Steps To Reproduce
- Start an app on iOS
- Cmd + D
The following gets logged:
[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:0x600001b8be80 UIView:0x7f95a3f1e9d0.width == - 16 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001b8be80 UIView:0x7f95a3f1e9d0.width == - 16 (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.
Nothing too bad on its own. When you reload often, it creates a lot of noise though.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:8
Top Results From Across the Web
LayoutConstraints error from Navig… | Apple Developer Forums
LayoutConstraints error from NavigationView with navigationTitle ... [LayoutConstraints] Unable to simultaneously satisfy constraints.
Read more >Unable to simultaneously satisfy constraints, will attempt to ...
Always the problem is how to find following Constraints and Views. There are two solutions how to do this: DEBUG VIEW HIERARCHY (Do...
Read more >Fixing NavigationTitle Warning Errors In SwiftUI - lopau
Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the...
Read more >How can I fix iOS Unable to simultaneously satisfy constraints ...
Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the...
Read more >Script for opening autolayout warnings in wtfautolayout
During the run time, sometimes developer can notice messages in the XCode terminal saying: Unable to simultaneously satisfy constraints. ... from the menu....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
issue still exists on RN 0.60.6
Same issue with 0.59.10