2020-02-22 00:35:12.466429-0800 MyCamera[28822:3987040] [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:0x2821e4960 UIView:0x102f02860.width == - 16 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x2821e4960 UIView:0x102f02860.width == - 16 (active)>
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-02-22 00:35:14.054578-0800 MyCamera[28822:3987321] [access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
(lldb)
Thread 7: signalSIGABRT でこちらのエラーが出ました。
カメラアプリを作っていて、カメラボタンを押すとクラッシュしたので、layoutを外してもう一度設定したのですが、うまくエラーを抜けれません。
xcode 11.3.1
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。