iOS - 在 main.m 崩溃,没有日志,没有可能的断点

iOS - crashing at main.m, no log, no possible breakpoint

我遇到了这个问题:我的 iOS 应用程序在 main.m 崩溃,代码如下:

Thread 1: EXC_BAD_ACCESS (code=1, address=0x760b9beb8)

主要问题是我完全不知道问题出在哪里。没有提供日志。我做了 google 很多在断点导航器中添加异常断点的解决方案。它甚至没有帮助。

我已经尝试了所有这些,但没有任何反应。这是我在之前的 UIViewController 中收到的日志:我不知道它是否可能相关。

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:0x1c44974d0 UILabel:0x10ed1bf10'The numbers rule the...'.height == 40   (active)>",
"NSLayoutConstraint:0x1c4497930 UILayoutGuide:0x1c43a1960'UIViewSafeAreaLayoutGuide'.bottom == UILabel:0x10ed1c1f0'\U2714 completed / file'.bottom + 13   (active)>",
"NSLayoutConstraint:0x1c4497c50 UILabel:0x10ed1bf10'The numbers rule the...'.top == UILayoutGuide:0x1c43a1960'UIViewSafeAreaLayoutGuide'.top + 7   (active)>",
"NSLayoutConstraint:0x1c4497d40 V:[UILabel:0x10ed1bf10'The numbers rule the...']-(2)-[UILabel:0x10ed1c1f0'\U2714 completed / file']   (active)>",
"NSLayoutConstraint:0x1c0699e60 'UIView-Encapsulated-Layout-Height' Cursos.CourseSectionCell:0x10691ba00'CourseSectionCell'.height == 56.5   (active)>",
"NSLayoutConstraint:0x1c4497a20 'UIViewSafeAreaLayoutGuide-bottom' V:[UILayoutGuide:0x1c43a1960'UIViewSafeAreaLayoutGuide']-(0)-|   (active, names: '|':Cursos.CourseSectionCell:0x10691ba00'CourseSectionCell' )>",
"<NSLayoutConstraint:0x1c4497980 'UIViewSafeAreaLayoutGuide-top' V:|-(0)-[UILayoutGuide:0x1c43a1960'UIViewSafeAreaLayoutGuide']   (active, names: '|':Cursos.CourseSectionCell:0x10691ba00'CourseSectionCell' )>"
Will attempt to recover by breaking constraint 
NSLayoutConstraint:0x1c44974d0 UILabel:0x10ed1bf10'The numbers rule the...'.height == 40   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

据我所知,以上只是一个警报,我什至尝试为 UIViewAlertForUnsatisfiableConstraints 添加警报,但没有发现异常。

我正在寻求帮助,因为我不知道我还能走什么路。如果我的问题太肤浅,请随时问我任何细节。提前致谢。

转到 editSchenes ->运行->Diagnostics 和 select Zombie 对象并暂停问题,现在 运行 项目。可能你会遇到这个问题