iOS 16 Navigation bar buttons - unable to satisfy constraints

XCODE 14 / iOS 16 beta 2 on both simulator and iPad 6, the below warning is issued for all views in my app with a Navigation bar with buttons. Navigation bar colours are customised and buttons added programatically. Is anyone else seeing this?

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:0x13bb1e2b0 UIImageView:0x135dfcae0.width <= _UIModernBarButton:0x13be321e0.width   (active)>",

    "<NSLayoutConstraint:0x13bbf14b0 '_UITemporaryLayoutWidth' _UIButtonBarButton:0x13be31d10.width == 0   (active)>",

    "<NSLayoutConstraint:0x13bb844a0 'IB_Leading_Leading' H:|-(>=11)-[_UIModernBarButton:0x13be321e0]   (active, names: '|':_UIButtonBarButton:0x13be31d10 )>",

    "<NSLayoutConstraint:0x13bbad9a0 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x13be321e0]-(>=11)-|   (active, names: '|':_UIButtonBarButton:0x13be31d10 )>"

)

Will attempt to recover by breaking constraint 

<NSLayoutConstraint:0x13bb1e2b0 UIImageView:0x135dfcae0.width <= _UIModernBarButton:0x13be321e0.width   (active)>

Thanks for letting us know. This is a bug and we are tracking this issue internally.

@Apple has this been fixed?

My layouts in my Objective-C iOS app broke as a result of iOS Beta 16. After reading the release notes and my own code I narrowed it down to the NSLayoutConstraints. I think this is what is causing the issue. I think my issue is caused by the same category of bug.

Here is my error:

2022-08-18 13:57:19.535175-0700 Ember[5032:864329] [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:0x282c0ada0 _UIToolbarContentView:0x14750f280.width ==>",
    "<NSLayoutConstraint:0x282c09bd0 _UIButtonBarStackView:0x1475085f0.leading == _UIToolbarContentView:0x14750f280.leading + 16>",
    "<NSLayoutConstraint:0x282c09c20 _UIToolbarContentView:0x14750f280.trailing == _UIButtonBarStackView:0x1475085f0.trailing>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x282c09c20 _UIToolbarContentView:0x14750f280.trailing == _UIButtonBarStackView:0x1475085f0.trailing>

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.

@Frameworks Engineer. Thanks for replying. I was wondering if this bug is fixed in iOS 16 Beta 6?

Thanks bug is fixed in XCODE Beta 5.

iOS 16 Navigation bar buttons - unable to satisfy constraints
 
 
Q