Auto Layout: Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want
Two or more Auto Layout constraints conflict; UIKit breaks one to recover and logs this message.
Unable to simultaneously satisfy constraintsWill attempt to recover by breaking constraintMake a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints Meaning
Common causes: translatesAutoresizingMaskIntoConstraints left true for programmatic views, fixed widths/heights fighting each other, or constraints that don’t fit when a view is collapsed (e.g. height 0 with padding).
Common causes
- translatesAutoresizingMaskIntoConstraints = true on programmatic views
- Conflicting fixed width/height constraints
- Constraints impossible in some states (hidden/zero-size)
- Duplicate constraints added repeatedly
⚡ Quick fix
- Set translatesAutoresizingMaskIntoConstraints = false
- Lower priority (999) on the constraint that can give
- Use wtfautolayout.com to read the log
Detailed fix by platform
Swift
- swift
view.translatesAutoresizingMaskIntoConstraints = false let h = view.heightAnchor.constraint(equalToConstant: 44); h.priority = .defaultHigh; h.isActive = true
How to diagnose
- Log — Constraint list and which one was broken
- Views — Autoresizing constraints (NSAutoresizingMaskLayoutConstraint)?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in iOS
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 14 Oct 2026