• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ios - 应用程序关闭时没有崩溃警报

[复制链接]
菜鸟教程小白 发表于 2022-12-12 11:53:58 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题

我在 AppStore 上有一个应用程序,我在两天前更新了它。在我检查过的所有手机上,它都运行良好,但我确实收到了一些用户的提示,即应用程序在打开后立即关闭而没有崩溃警报。 我检查了 Xcode 上的崩溃报告,发现了这个错误:\UIKit: __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 556 并看到它与 UI 相关,但我不确定那是应用程序关闭的原因是因为我没有更改版本之间的 UI,而且这也不是崩溃...... 我在代码上没有 exit(0)。

很抱歉,没有代码,版本之间的应用打开时没有任何变化(我只是添加了一个 QR 类,用户可以通过单击按钮打开)。

是否有人知道应用关闭(或立即关闭)的可能原因 到后台)没有警报?

编辑:我刚刚有一部手机遇到了这个问题。当我直接从我的计算机安装应用程序时,应用程序可以运行,当我从商店安装时,它会关闭......

编辑2: 感谢@Cy-4AH,这里是 logcat:

kernel[0] <Notice>: xpcproxy[7827] Container: /private/var/mobile/Containers/Data/Application/7E2AA7B7-E2B2-4B2A-A362-BF95D6DFF594 (sandbox)
 <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
 <Notice>: ReportCrash acting against PID 7827
 <Warning>: Attempt to read info_array in pid 7827 failed, address was 120045fe8
 <Warning>: Attempt to read info_array in pid 7827 failed, address was 120045fe8
 <Warning>: Attempt to read info_array in pid 7827 failed, address was 120045fe8
 <Warning>: Attempt to read info_array in pid 7827 failed, address was 120045fe8
 <Notice>: Formulating crash report for process TmcSystemsApp[7827]
com.apple.xpc.launchd[1] (UIKitApplication:com.tmc-systems.TmcSystemsApp[0x578a][7827]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
 <Error>: Not saving crash log because we have reached the limit for logs to store on disk.  Sync or otherwise clear logs from /var/mobile/Library/Logs/CrashReporter to save new logs.
 <Error>: Could not save crash report to disk!
 <Error>: Incident Identifier: DBBCA5F0-062B-4430-AFDA-03E4218DE37F
 <Error>: CrashReporter Key:   36ec2d0341c8d9e6a53e387d034dfa76962801d5
 <Error>: Hardware Model:      iPhone7,2
 <Error>: Process:             TmcSystemsApp [7827]
 <Error>: Path:                /private/var/mobile/Containers/Bundle/Application/9C394EDA-BC3A-4AE3-AD6F-E9D9A42D5F37/TmcSystemsApp.app/TmcSystemsApp
 <Error>: Identifier:          TmcSystemsApp
 <Error>: Version:             ???
 <Error>: Code Type:           ARM-64 (Native)
 <Error>: Parent Process:      launchd [1]
 <Error>: Date/Time:           2016-08-17 12:28:38.078 +0300
 <Error>: Launch Time:         2016-08-17 12:28:38.043 +0300
 <Error>: OS Version:          iOS 8.4.1 (12H321)
 <Error>: Report Version:      105
 <Error>: Exception Type:  EXC_BREAKPOINT (SIGTRAP)
 <Error>: Exception Codes: 0x0000000000000001, 0x0000000120019088
 <Error>: Triggered by Thread:  0
 <Error>: Dyld Error Message:
 <Error>:   Library not loaded: /System/Library/Frameworks/ContactsUI.framework/ContactsUI
 <Error>:   Referenced from: /private/var/mobile/Containers/Bundle/Application/9C394EDA-BC3A-4AE3-AD6F-E9D9A42D5F37/TmcSystemsApp.app/TmcSystemsApp
 <Error>:   Reason: image not found
 <Error>:   Dyld Version: 353.12
 <Error>: Binary Images:
 <Error>: 0x120018000 - 0x12003ffff dyld arm64  <dddc36a8e70636f7a9fea757477bf90b> /usr/lib/dyld
SpringBoard[54] <Warning>: Application 'UIKitApplication:com.tmc-systems.TmcSystemsApp[0x578a]' crashed.



Best Answer-推荐答案


如果它没有生成崩溃报告,那么您的应用程序已被系统关闭。这可能有几个原因:分配的内存过多,didStartApplication 太长。尝试在控制台日志中找出您的应用程序被系统关闭的原因。

关于ios - 应用程序关闭时没有崩溃警报,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38973250/

回复

使用道具 举报

懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注0

粉丝2

帖子830918

发布主题
阅读排行 更多
广告位

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap