IOS 5 崩溃@ [self.navigationController PushViewController:vcSummary 动画:YES ];

发布于 2024-12-12 12:58:46 字数 653 浏览 1 评论 0原文

[self.navigationController PushViewController:vcSummaryAnimated:YES]; 导致我的应用程序在设备上崩溃(已经在应用商店中),但在我的 iPhone 5.0 上运行良好模拟器。

请建议有什么方法可以找出发生崩溃的原因吗?

如何在 iPhone 上进行调试,即我可以在 iPhone 上运行应用程序并查看 iPhone 本身上的日志吗?

代码:-

AirportInfoSummaryController *vcSummary = [[AirportInfoSummaryController alloc] init];
[self.navigationController pushViewController:vcSummary animated:YES ];

AirportInfoSummaryController 有一个表格视图,其中包含每行加载一个表视图单元格(三行加载 3 个 xib)

我收到的崩溃日志:-在此处输入图像描述

[self.navigationController pushViewController:vcSummary animated:YES ]; is leading to my application crash (which is already in app store) on device, but working perfectly on my iPhone 5.0 simulator.

Please suggest is there any way to find out why crash is happening?

How to debug on iPhone i.e can i run application on iPhone and see the logs on iPhone itself?

Code:-

AirportInfoSummaryController *vcSummary = [[AirportInfoSummaryController alloc] init];
[self.navigationController pushViewController:vcSummary animated:YES ];

AirportInfoSummaryController has a table view with each row loaded with a table view cell (three rows have 3 xib's loaded)

Crash Log I am Getting:-enter image description here

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

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

发布评论

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

评论(1

八巷 2024-12-19 12:58:46

可以通过Xcode > 查看设备日志组织者>设备。您还可以在那里符号化您的崩溃日志,假设您确实进行了构建和存档,因此 dSYM 文件仍然存在。 (符号将崩溃日志输出的“乱码”链接到实际的代码行以帮助您调试。)

You can view the device logs through Xcode > Organiser > Devices. You can also symbolicate your crash logs there, assuming that you did build and archive and thus the dSYM file still exists. (Symbolication links the 'gibberish' that the crash log outputs to actual lines of code to help you debug.)

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