I am trying to upgrade my app to Meteor 1.6 and have been a world of hurt with Cordova plugin versions.
In the past I used jamielob:reloader
which has been great to prevent this sort of stuff.
Anyway, if I click into an input field in my Cordova app, I get the following error and then it tried to refresh the app… I am assuming that the refresh is a result of the initial crash (I may be wrong).
Any ideas pls?
2017-11-13 14:30:25.977344+1100 Buzzy[665:151927] API error: <_UIKBCompatInputView: 0x10372c9a0; frame = (0 0; 0 0); layer = <CALayer: 0x1c02340a0>> returned 0 width, assuming UIViewNoIntrinsicMetric
2017-11-13 14:30:25.977447+1100 Buzzy[665:151927] API error: <_UIKBCompatInputView: 0x10372c9a0; frame = (0 0; 0 0); layer = <CALayer: 0x1c02340a0>> returned 0 width, assuming UIViewNoIntrinsicMetric
2017-11-13 14:30:26.012468+1100 Buzzy[665:151927] [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:0x1c0486590 h=-&- v=-&- UIToolbar:0x103729850.width == _UIInputViewContent:0x10371f2e0.width (active)>",
"<NSAutoresizingMaskLayoutConstraint:0x1c04866d0 h=--& v=--& _UIInputViewContent:0x10371f2e0.width == 0 (active)>",
"<NSLayoutConstraint:0x1c4287350 H:|-(0)-[_UIButtonBarStackView:0x10372b780] (active, names: '|':_UIToolbarContentView:0x103729c90 )>",
"<NSLayoutConstraint:0x1c42873a0 _UIButtonBarStackView:0x10372b780.trailing == _UIToolbarContentView:0x103729c90.trailing + 8 (active)>",
"<NSLayoutConstraint:0x1c4286d60 _UIToolbarContentView:0x103729c90.trailing == UIToolbar:0x103729850.trailing (active)>",
"<NSLayoutConstraint:0x1c4286e00 H:|-(0)-[_UIToolbarContentView:0x103729c90] (active, names: '|':UIToolbar:0x103729850 )>",
"<NSLayoutConstraint:0x1c428aa50 H:|-(0)-[_UIModernBarButton:0x10373a400] (active, names: '|':_UIButtonBarButton:0x103739fb0 )>",
"<NSLayoutConstraint:0x1c428aaa0 H:[_UIModernBarButton:0x10373a400]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x103739fb0 )>",
"<NSLayoutConstraint:0x1c0485370 H:|-(8)-[_UIModernBarButton:0x103568630'Done'] (active, names: '|':_UIButtonBarButton:0x10373c570 )>",
"<NSLayoutConstraint:0x1c04853c0 H:[_UIModernBarButton:0x103568630'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x10373c570 )>",
"<NSLayoutConstraint:0x1c0485780 'UISV-canvas-connection' UILayoutGuide:0x1c41b1480'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x103739fb0.leading (active)>",
"<NSLayoutConstraint:0x1c0485af0 'UISV-canvas-connection' UILayoutGuide:0x1c41b1480'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x10373c570.trailing (active)>",
"<NSLayoutConstraint:0x1c0485b40 'UISV-spacing' H:[_UIButtonBarButton:0x103739fb0]-(0)-[UIView:0x10373a200] (active)>",
"<NSLayoutConstraint:0x1c0485b90 'UISV-spacing' H:[UIView:0x10373a200]-(0)-[_UIButtonBarButton:0x10373b600] (active)>",
"<NSLayoutConstraint:0x1c0485be0 'UISV-spacing' H:[_UIButtonBarButton:0x10373b600]-(0)-[UIView:0x10373c390] (active)>",
"<NSLayoutConstraint:0x1c0485c30 'UISV-spacing' H:[UIView:0x10373c390]-(0)-[_UIButtonBarButton:0x10373c570] (active)>",
"<NSLayoutConstraint:0x1c42871c0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x1c41b1480'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x10372b780 )>",
"<NSLayoutConstraint:0x1c4287260 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x1c41b1480'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x10372b780 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x1c428aaa0 H:[_UIModernBarButton:0x10373a400]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x103739fb0 )>
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-11-13 14:30:26.024268+1100 Buzzy[665:151927] [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:0x1c0486590 h=-&- v=-&- UIToolbar:0x103729850.width == _UIInputViewContent:0x10371f2e0.width (active)>",
"<NSAutoresizingMaskLayoutConstraint:0x1c04866d0 h=--& v=--& _UIInputViewContent:0x10371f2e0.width == 0 (active)>",
"<NSLayoutConstraint:0x1c4287350 H:|-(0)-[_UIButtonBarStackView:0x10372b780] (active, names: '|':_UIToolbarContentView:0x103729c90 )>",
"<NSLayoutConstraint:0x1c42873a0 _UIButtonBarStackView:0x10372b780.trailing == _UIToolbarContentView:0x103729c90.trailing + 8 (active)>",
"<NSLayoutConstraint:0x1c4286d60 _UIToolbarContentView:0x103729c90.trailing == UIToolbar:0x103729850.trailing (active)>",
"<NSLayoutConstraint:0x1c4286e00 H:|-(0)-[_UIToolbarContentView:0x103729c90] (active, names: '|':UIToolbar:0x103729850 )>",
"<NSLayoutConstraint:0x1c428b090 H:|-(>=5)-[_UIModernBarButton:0x10373bc50] (active, names: '|':_UIButtonBarButton:0x10373b600 )>",
"<NSLayoutConstraint:0x1c428b0e0 H:[_UIModernBarButton:0x10373bc50]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x10373b600 )>",
"<NSLayoutConstraint:0x1c0485370 H:|-(8)-[_UIModernBarButton:0x103568630'Done'] (active, names: '|':_UIButtonBarButton:0x10373c570 )>",
"<NSLayoutConstraint:0x1c04853c0 H:[_UIModernBarButton:0x103568630'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x10373c570 )>",
"<NSLayoutConstraint:0x1c0485780 'UISV-canvas-connection' UILayoutGuide:0x1c41b1480'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x103739fb0.leading (active)>",
"<NSLayoutConstraint:0x1c0485af0 'UISV-canvas-connection' UILayoutGuide:0x1c41b1480'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x10373c570.trailing (active)>",
"<NSLayoutConstraint:0x1c0485b40 'UISV-spacing' H:[_UIButtonBarButton:0x103739fb0]-(0)-[UIView:0x10373a200] (active)>",
"<NSLayoutConstraint:0x1c0485b90 'UISV-spacing' H:[UIView:0x10373a200]-(0)-[_UIButtonBarButton:0x10373b600] (active)>",
"<NSLayoutConstraint:0x1c0485be0 'UISV-spacing' H:[_UIButtonBarButton:0x10373b600]-(0)-[UIView:0x10373c390] (active)>",
"<NSLayoutConstraint:0x1c0485c30 'UISV-spacing' H:[UIView:0x10373c390]-(0)-[_UIButtonBarButton:0x10373c570] (active)>",
"<NSLayoutConstraint:0x1c42871c0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x1c41b1480'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x10372b780 )>",
"<NSLayoutConstraint:0x1c4287260 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x1c41b1480'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x10372b780 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x1c428b0e0 H:[_UIModernBarButton:0x10373bc50]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x10373b600 )>
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-11-13 14:30:48.387253+1100 Buzzy[665:152771] App startup timed out, reverting to last known good version
=================================================================
Main Thread Checker: UI API called on a background thread: -[WKWebView reloadFromOrigin]
PID: 665, TID: 152771, Thread name: (none), Queue name: com.apple.root.utility-qos, QoS: 17
Backtrace:
4 Buzzy 0x000000010221f990 _T05Buzzy17WebAppLocalServerC28revertToLastKnownGoodVersionyyF + 1140
5 Buzzy 0x0000000102224a7c _T05Buzzy17WebAppLocalServerC16pluginInitializeyyFyycfU_TA + 136
6 Buzzy 0x000000010221f424 _T0Ix_IyB_TR + 36
7 Buzzy 0x00000001021abb80 __32-[METTimer initWithQueue:block:]_block_invoke + 160
8 libdispatch.dylib 0x000000010338d45c _dispatch_client_callout + 16
9 libdispatch.dylib 0x000000010339a800 _dispatch_continuation_pop + 592
10 libdispatch.dylib 0x000000010338f24c _dispatch_source_invoke + 1592
11 libdispatch.dylib 0x000000010339eb54 _dispatch_root_queue_drain + 616
12 libdispatch.dylib 0x000000010339e880 _dispatch_worker_thread3 + 136
13 libsystem_pthread.dylib 0x0000000180e87120 _pthread_wqthread + 1268
14 libsystem_pthread.dylib 0x0000000180e86c20 start_wqthread + 4
2017-11-13 14:30:48.409340+1100 Buzzy[665:152771] [reports] Main Thread Checker: UI API called on a background thread: -[WKWebView reloadFromOrigin]
PID: 665, TID: 152771, Thread name: (none), Queue name: com.apple.root.utility-qos, QoS: 17
Backtrace:
4 Buzzy 0x000000010221f990 _T05Buzzy17WebAppLocalServerC28revertToLastKnownGoodVersionyyF + 1140
5 Buzzy 0x0000000102224a7c _T05Buzzy17WebAppLocalServerC16pluginInitializeyyFyycfU_TA + 136
6 Buzzy 0x000000010221f424 _T0Ix_IyB_TR + 36
7 Buzzy 0x00000001021abb80 __32-[METTimer initWithQueue:block:]_block_invoke + 160
8 libdispatch.dylib 0x000000010338d45c _dispatch_client_callout + 16
9 libdispatch.dylib 0x000000010339a800 _dispatch_continuation_pop + 592
10 libdispatch.dylib 0x000000010338f24c _dispatch_source_invoke + 1592
11 libdispatch.dylib 0x000000010339eb54 _dispatch_root_queue_drain + 616
12 libdispatch.dylib 0x000000010339e880 _dispatch_worker_thread3 + 136
13 libsystem_pthread.dylib 0x0000000180e87120 _pthread_wqthread + 1268
14 libsystem_pthread.dylib 0x0000000180e86c20 start_wqthread + 4
2017-11-13 14:30:48.873293+1100 Buzzy[665:151927] Serving asset bundle version: a57fde43d6768a6c96bc37d3c29ab6a5691ceae8
2017-11-13 14:30:50.228875+1100 Buzzy[665:151927] Start downloading asset manifest from: manifest.json -- http://192.168.0.6:3000/__cordova/
2017-11-13 14:30:50.255559+1100 Buzzy[665:152771] Push Plugin register called
2017-11-13 14:30:50.255618+1100 Buzzy[665:152771] PushPlugin.register: setting badge to false
2017-11-13 14:30:50.255632+1100 Buzzy[665:152771] PushPlugin.register: clear badge is set to 0
2017-11-13 14:30:50.255647+1100 Buzzy[665:152771] PushPlugin.register: better button setup
2017-11-13 14:30:50.257302+1100 Buzzy[665:152771] GCM Sender ID (null)
2017-11-13 14:30:50.257343+1100 Buzzy[665:152771] Using APNS Notification
2017-11-13 14:30:50.275072+1100 Buzzy[665:151927] Push Plugin register success: <7b524e7a 8161d371 57645469 bb224ca8 80e59ac2 da6b99e1 0638c6ce 002e8e5a>
2017-11-13 14:30:50.301062+1100 Buzzy[665:152771] Downloaded asset manifest for version: fb49039b3621831b423235e76cea659ec72edc03
2017-11-13 14:30:50.315231+1100 Buzzy[665:152771] Download failure: Skipping downloading blacklisted version