API error returned 0 width, assuming UIViewNoIntrinsicMetric

I was getting these errors too.

When this error was thrown:

**2019-03-15 03:49:48.388140-0400[4549:5078041] API error: <_UIKBCompatInputView: 0x10259d510; frame = (0 0; 0 0); layer = <CALayer: 0x281be4fa0>> returned 0 width, assuming UIViewNoIntrinsicMetric**

**2019-03-15 03:49:48.388514-0400[4549:5078041] API error: <_UIKBCompatInputView: 0x10259d510; frame = (0 0; 0 0); layer = <CALayer: 0x281be4fa0>> returned 0 width, assuming UIViewNoIntrinsicMetric**

It would then trigger 2 to 3 of these type errors:

2017-10-10 16:02:05.120287-0400 [71879:2084822] [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:0x60000028f7d0 h=–& v=–& UIView:0x7fbcfcd01010.height == 20 (active)>”,
“<NSLayoutConstraint:0x60400009cd90 V:|-(0)-[UILayoutGuide:0x6040001a0c40’cutout’] (active, names: ‘|’:UIView:0x7fbcfcd01010 )>”,
“<NSLayoutConstraint:0x60400009d1f0 UILayoutGuide:0x6040001a0c40’cutout’.height == 30 (active)>”,
“<NSLayoutConstraint:0x60000028e100 V:[UILayoutGuide:0x6040001a0c40’cutout’]-(3)-[UILayoutGuide:0x6000001a0fc0’'] (active)>”,
“<NSLayoutConstraint:0x60000028e1f0 UILayoutGuide:0x6000001a0fc0’'.bottom == UIView:0x7fbcfcd01010.bottom (active)>”
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000028e100 V:[UILayoutGuide:0x6040001a0c40’cutout’]-(3)-[UILayoutGuide:0x6000001a0fc0’'] (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2017-10-10 16:02:06.938363-0400 Pocket Thai Lite[71879:2084822] ERROR Internal navigation rejected - not set for url=‘gap://ready’
2017-10-10 16:02:06.988620-0400 Pocket Thai Lite[71879:2084822] Ionic Native: deviceready event fired after 227 ms

I saw the above comments about keyboard issues, I too was on ionic-plugin-keyboard - I removed it and then added the newer Cordova-plugin-ionic-keyboard and I still get the :

2019-03-15 03:49:48.388140-0400[4549:5078041] API error: <_UIKBCompatInputView: 0x10259d510; frame = (0 0; 0 0); layer = <CALayer: 0x281be4fa0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2019-03-15 03:49:48.388514-0400[4549:5078041] API error: <_UIKBCompatInputView: 0x10259d510; frame = (0 0; 0 0); layer = <CALayer: 0x281be4fa0>> returned 0 width, assuming UIViewNoIntrinsicMetric

However all the other LayoutConstraints errors went away. THANK GOD. Been plaguing me for a while. Not certain how to get rid of the last 2 API error: <_UIKBCompatInputView: 0x10259d510