在 iPhone 模拟器中调试应用程序时堆栈溢出

发布于 2024-09-01 12:41:18 字数 1123 浏览 8 评论 0原文

每次我尝试在模拟器中调试我的应用程序时,我都会收到此消息:

[Session started at 2010-05-11 16:16:52 -0500.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1467) (Wed Apr 21 06:57:21 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 51573.
Program received signal:  “EXC_BAD_ACCESS”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Cannot call into the loader at present, it is locked.)

我环顾四周并发现了一些类似的情况,但它们似乎都与丢失的文件和额外的必要构建阶段有关。我在这里没有收到丢失文件的通知,因此我不确定从哪里开始修复此问题并让应用程序再次运行。

感谢您的任何见解!

编辑: 我有一些框架显示为红色(显然不在我的系统上,因为我安装了新的 SDK 版本)。我假设这就是问题所在,但我现在似乎无法在系统上的任何位置找到 UIKit.framework 或 CoreGraphics.framework 。

编辑2: 仔细检查并找到其他位置的所有关联框架,并更改项目中的框架位置。他们在团体和团体中不再是红色的。文件,但原来的问题仍然存在。

I'm getting this every time I attempt to debug my app in the simulator:

[Session started at 2010-05-11 16:16:52 -0500.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1467) (Wed Apr 21 06:57:21 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 51573.
Program received signal:  “EXC_BAD_ACCESS”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Cannot call into the loader at present, it is locked.)

I've looked around and found a few similar cases, but they all seem to be related to a missing file and an extra necessary build phase. I'm getting no notification of a missing file here so I'm not sure where to start to fix this and get the app running again.

Thanks for any insight!

EDIT:
I have some frameworks showing up in red (and apparently not on my system since I've installed a new SDK version). I'm assuming this is the problem, but I can't seem to find UIKit.framework or CoreGraphics.framework anywhere on my system now.

Edit 2:
Went through and found all of the associated frameworks in other locations and changed the framework locations in the project. They're no longer red in Groups & Files but the original problem still persists.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

魂ガ小子 2024-09-08 12:41:18

您可能正在引用一个已释放的对象。 打开 NSZombie 以获得更好的详细信息。

You're probably referencing a deallocated object. Turn on NSZombie to get better details.

累赘 2024-09-08 12:41:18

我已经解决了问题:由于发生了崩溃,我必须在以前的 SDK 版本中进行修复以实现 UITableViewCellContentView 。这个新版本显然解决了这个问题,所以我只需删除额外的实现即可。

I've figured out the problem: I had to put in a fix to implement UITableViewCellContentView in a previous SDK version because of crashes that occurred. This new version apparently fixed that issue so I simply had to take out the extra implementation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文