Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoLayoutのエラー対応 #16

Open
mitsuaki1229 opened this issue Nov 4, 2020 · 0 comments
Open

AutoLayoutのエラー対応 #16

mitsuaki1229 opened this issue Nov 4, 2020 · 0 comments
Labels

Comments

@mitsuaki1229
Copy link
Owner

e67114c 時点のコミットで確認。

下記エラーを対応する。

2020-11-05 01:56:47.653710+0900 BeaconDetection[23805:21437779] [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. 
(
    "<SnapKit.LayoutConstraint:[email protected]#76 UITextField:0x107016200.left == BeaconDetection.DetectionView:0x104b2fd80.left + 20.0>",
    "<SnapKit.LayoutConstraint:[email protected]#77 UITextField:0x107016200.right == UITextField:0x10702f600.left - 20.0>",
    "<SnapKit.LayoutConstraint:[email protected]#88 UITextField:0x10702f600.right == BeaconDetection.DetectionView:0x104b2fd80.right - 10.0>",
    "<SnapKit.LayoutConstraint:[email protected]#89 UITextField:0x10702f600.width == BeaconDetection.DetectionView:0x104b2fd80.width * 0.20000000298023224>",
    "<NSLayoutConstraint:0x283dbb160 '_UITemporaryLayoutWidth' BeaconDetection.DetectionView:0x104b2fd80.width == 0   (active)>"
)

Will attempt to recover by breaking constraint 
<SnapKit.LayoutConstraint:[email protected]#88 UITextField:0x10702f600.right == BeaconDetection.DetectionView:0x104b2fd80.right - 10.0>

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.
2020-11-05 01:56:47.654235+0900 BeaconDetection[23805:21437779] [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. 
(
    "<SnapKit.LayoutConstraint:[email protected]#78 UITextField:0x107016200.height == 30.0>",
    "<SnapKit.LayoutConstraint:[email protected]#75 UITextField:0x107016200.top == BeaconDetection.DetectionView:0x104b2fd80.top + 30.0>",
    "<SnapKit.LayoutConstraint:[email protected]#82 UILabel:0x104b32670.top == UITextField:0x107016200.bottom + 10.0>",
    "<SnapKit.LayoutConstraint:[email protected]#93 UITextField:0x10701fc00.top == UILabel:0x104b32670.top>",
    "<SnapKit.LayoutConstraint:[email protected]#98 UITableView:0x10702fa00.top == UITextField:0x10701fc00.bottom + 10.0>",
    "<SnapKit.LayoutConstraint:[email protected]#100 UITableView:0x10702fa00.bottom == BeaconDetection.DetectionView:0x104b2fd80.bottom - 49.0>",
    "<NSLayoutConstraint:0x283dbc500 '_UITemporaryLayoutHeight' BeaconDetection.DetectionView:0x104b2fd80.height == 0   (active)>"
)

Will attempt to recover by breaking constraint 
<SnapKit.LayoutConstraint:[email protected]#78 UITextField:0x107016200.height == 30.0>

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.
2020-11-05 01:56:47.654969+0900 BeaconDetection[23805:21437779] [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. 
(
    "<SnapKit.LayoutConstraint:[email protected]#75 UITextField:0x107016200.top == BeaconDetection.DetectionView:0x104b2fd80.top + 30.0>",
    "<SnapKit.LayoutConstraint:[email protected]#82 UILabel:0x104b32670.top == UITextField:0x107016200.bottom + 10.0>",
    "<SnapKit.LayoutConstraint:[email protected]#93 UITextField:0x10701fc00.top == UILabel:0x104b32670.top>",
    "<SnapKit.LayoutConstraint:[email protected]#98 UITableView:0x10702fa00.top == UITextField:0x10701fc00.bottom + 10.0>",
    "<SnapKit.LayoutConstraint:[email protected]#100 UITableView:0x10702fa00.bottom == BeaconDetection.DetectionView:0x104b2fd80.bottom - 49.0>",
    "<NSLayoutConstraint:0x283dbc500 '_UITemporaryLayoutHeight' BeaconDetection.DetectionView:0x104b2fd80.height == 0   (active)>"
)

Will attempt to recover by breaking constraint 
<SnapKit.LayoutConstraint:[email protected]#98 UITableView:0x10702fa00.top == UITextField:0x10701fc00.bottom + 10.0>

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.
2020-11-05 01:58:05.144683+0900 BeaconDetection[23805:21437779] [ApplicationLifecycle] UIWindows were created prior to initial application activation. This may result in incorrect visual appearance.
2020-11-05 01:58:05.163549+0900 BeaconDetection[23805:21438265] -[_UIRemoteKeyboards proxy]_block_invoke Failed to access remote service: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.UIKit.KeyboardManagement.hosted was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.UIKit.KeyboardManagement.hosted was invalidated from this process.}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant