I've made good progress with the FoodTracker example in Start Developing iOS Apps (Swift), but hit a snag in the Implement a Custom Control:
2017-02-05 18:45:01.644693 FoodTracker[3066:188362] [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. ( "", "", "", "" )
Will attempt to recover by breaking constraint (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful. 2017-02-05 18:45:01.645167 FoodTracker[3066:188362] [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. ( "", " (active)>", "", "" )
Will attempt to recover by breaking constraint (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.
Instead of a single red square 44px x 44px in size, the entire Horizontal View is red.
I've gone through the steps multiple times, copied and pasted the code examples, but I'm getting the same error each time.
I'm using Xcode 8.2.1 on OS X El Capitan 10.11.6