I am using CBL 2.0 | SG 1.5 beta | CBS 5.0 beta | mobile-travel-sample/tree/connect_sv | Xcode 9
I am guessing that I’ve just installed/configured something wrong, if anyone has any ideas where I messed up or what I should specifically try…
Xcode output spans from loading the app to clicking the flight lookup button:
2017-10-31 15:18:33.080586-0400 TravelSample[61230:39177978] [MC] Lazy loading NSBundle MobileCoreServices.framework
2017-10-31 15:18:33.081196-0400 TravelSample[61230:39177978] [MC] Loaded MobileCoreServices.framework
2017-10-31 15:18:33.094660-0400 TravelSample[61230:39177978] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/brayden/Library/Developer/CoreSimulator/Devices/D05F39F5-91D8-4CA2-BC97-EF2A2E512CEE/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-10-31 15:18:40.561799-0400 TravelSample[61230:39177978] [MC] Reading from private effective user settings.
WIll open/create DB at path /Users/brayden/Library/Developer/CoreSimulator/Devices/D05F39F5-91D8-4CA2-BC97-EF2A2E512CEE/data/Containers/Data/Application/A9A62466-05F5-4B16-82B1-92A59D8F2C29/Library/Application Support/admin
2017-10-31 15:18:45.784484-0400 TravelSample[61230:39177978] CouchbaseLite default log level is Verbose and above
startPushAndPullReplicationForCurrentUser()
2017-10-31 15:18:45.816072-0400 TravelSample[61230:39178180] [] nw_connection_fillout_tcp_statistics 1 Connection is not ready
2017-10-31 15:18:45.816333-0400 TravelSample[61230:39178180] [] tcp_connection_get_statistics Failed to get statistics from connection
2017-10-31 15:18:45.818408-0400 TravelSample[61230:39178180] <CBLHTTPLogic: 0x60c00009d880>: Auth challenge; credential = <NSURLCredential: 0x60c000002910>: admin
2017-10-31 15:18:45.827297-0400 TravelSample[61230:39178179] [] nw_connection_fillout_tcp_statistics 2 Connection is not ready
2017-10-31 15:18:45.827536-0400 TravelSample[61230:39178179] [] tcp_connection_get_statistics Failed to get statistics from connection
PushPull Replicator: 0/0, error: nil, activity = connecting
PushPull Replicator: 0/0, error: nil, activity = busy
fetchBookingsForCurrentUser(observeChanges:)
updateUIWithUpdatedBookings(_:error:)
PushPull Replicator: 0/0, error: nil, activity = idle
2017-10-31 15:18:47.756672-0400 TravelSample[61230:39177978] [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.
(
"<NSLayoutConstraint:0x60c00009ea50 UITextField:0x7fbe0c0ae600.width == 169 (active)>",
"<NSLayoutConstraint:0x60c00009f9a0 H:|-(9)-[UILabel:0x7fbe0fb21e10'Flying from'] (active, names: '|':UIView:0x7fbe0fb1fbf0 )>",
"<NSLayoutConstraint:0x60c00009fbd0 UITextField:0x7fbe0c0cda00.leading == UILabel:0x7fbe0fb21e10'Flying from'.leading (active)>",
"<NSLayoutConstraint:0x60c00009fb80 UILabel:0x7fbe0fb21b30'Departing'.leading == UITextField:0x7fbe0c0cda00.leading (active)>",
"<NSLayoutConstraint:0x60c00009f950 UITextField:0x7fbe0c0ae600.leading == UILabel:0x7fbe0fb21b30'Departing'.leading (active)>",
"<NSLayoutConstraint:0x60c00009fdb0 H:[UITextField:0x7fbe0c0ae600]-(197)-| (active, names: '|':UIView:0x7fbe0fb1fbf0 )>",
"<NSLayoutConstraint:0x60c000280f00 UIView:0x7fbe0fb1fbf0.leading == UIView:0x7fbe0fb1fa10.leadingMargin - 16 (active)>",
"<NSLayoutConstraint:0x60c000280f50 UIView:0x7fbe0fb1fa10.trailingMargin == UIView:0x7fbe0fb1fbf0.trailing - 16 (active)>",
"<NSLayoutConstraint:0x60c0002836b0 'UIView-Encapsulated-Layout-Width' UIView:0x7fbe0fb1fa10.width == 375 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60c00009ea50 UITextField:0x7fbe0c0ae600.width == 169 (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.
detachPresentingView
2017-10-31 15:18:49.064269-0400 TravelSample[61230:39177978] [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.
(
"<NSLayoutConstraint:0x60c00009f900 UIView:0x7fbe0fb1fbf0.height == 165 (active)>",
"<NSLayoutConstraint:0x60c000280e60 UIView:0x7fbe0fb1fa10.topMargin == UIView:0x7fbe0fb1fbf0.top (active)>",
"<NSLayoutConstraint:0x60c000280eb0 UIView:0x7fbe0fb1fa10.bottomMargin == UIView:0x7fbe0fb1fbf0.bottom (active)>",
"<NSLayoutConstraint:0x60c000283700 'UIView-Encapsulated-Layout-Height' UIView:0x7fbe0fb1fa10.height == 250 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60c00009f900 UIView:0x7fbe0fb1fbf0.height == 165 (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.
onUpdatedSearchCriteria(_:destination:)
2017-10-31 15:19:11.195136-0400 TravelSample[61230:39179752] TIC TCP Conn Failed [3:0x60c00017bfc0]: 1:61 Err(61)
2017-10-31 15:19:11.195524-0400 TravelSample[61230:39179752] Task <A06A3420-500C-4D34-9657-A9E270C54F97>.<1> HTTP load failed (error code: -1004 [1:61])
2017-10-31 15:19:11.195699-0400 TravelSample[61230:39178180] Task <A06A3420-500C-4D34-9657-A9E270C54F97>.<1> finished with error - code: -1004