gpt4 book ai didi

iOS 应用程序在真实设备上崩溃。错误 : dyld`__abort_with_payload

转载 作者:行者123 更新时间:2023-11-29 05:13:15 25 4
gpt4 key购买 nike

我在 3 天里遇到了无法在 iPhone Xr 上打开我开发的应用程序的问题。我使用 Flutter 作为基础,使用 XCode 来签署应用程序。每当该应用程序安装到我的设备上时,当我尝试打开该应用程序时,我都会收到此错误消息:

dyld`__abort_with_payload:
0x1050772a4 <+0>: mov x16, #0x209
0x1050772a8 <+4>: svc #0x80
-> 0x1050772ac <+8>: b.lo 0x1050772c8 ; <+36> . //THE ERROR OCCURS HERE
0x1050772b0 <+12>: stp x29, x30, [sp, #-0x10]!
0x1050772b4 <+16>: mov x29, sp
0x1050772b8 <+20>: bl 0x1050757d8 ; cerror_nocancel
0x1050772bc <+24>: mov sp, x29
0x1050772c0 <+28>: ldp x29, x30, [sp], #0x10
0x1050772c4 <+32>: ret
0x1050772c8 <+36>: ret

dyld`_dyld_start:
0x105029000 <+0>: mov x28, sp
0x105029004 <+4>: and sp, x28, #0xfffffffffffffff0
0x105029008 <+8>: mov x0, #0x0
0x10502900c <+12>: mov x1, #0x0
0x105029010 <+16>: stp x1, x0, [sp, #-0x10]!
0x105029014 <+20>: mov x29, sp
0x105029018 <+24>: sub sp, sp, #0x10 ; =0x10
0x10502901c <+28>: ldr x0, [x28]
0x105029020 <+32>: ldr x1, [x28, #0x8]
0x105029024 <+36>: add x2, x28, #0x10 ; =0x10
0x105029028 <+40>: adrp x3, -1
0x10502902c <+44>: add x3, x3, #0x0 ; =0x0
0x105029030 <+48>: mov x4, sp
0x105029034 <+52>: bl 0x10502907c ;
dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*)
-> 0x105029038 <+56>: mov x16, x0 // HERE THE ERROR OCCURS AS WELL
0x10502903c <+60>: ldr x1, [sp]
0x105029040 <+64>: cmp x1, #0x0 ; =0x0
0x105029044 <+68>: b.ne 0x105029050 ; <+80>
0x105029048 <+72>: add sp, x28, #0x8 ; =0x8
0x10502904c <+76>: braaz x16
0x105029050 <+80>: mov x30, x1
0x105029054 <+84>: ldr x0, [x28, #0x8]
0x105029058 <+88>: add x1, x28, #0x10 ; =0x10
0x10502905c <+92>: add x2, x1, x0, lsl #3
0x105029060 <+96>: add x2, x2, #0x8 ; =0x8
0x105029064 <+100>: mov x3, x2
0x105029068 <+104>: ldr x4, [x3]
0x10502906c <+108>: add x3, x3, #0x8 ; =0x8
0x105029070 <+112>: cmp x4, #0x0 ; =0x0
0x105029074 <+116>: b.ne 0x105029068 ; <+104>
0x105029078 <+120>: braaz x16

在日志中:

dyld: Library not loaded: @rpath/FMDB.framework/FMDB
Referenced from: /private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Runner
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: code signature invalid for '/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB'

/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: code signature invalid for '/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB'

/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: stat() failed with errno=1
/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: code signature invalid for '/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB'

/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: stat() failed with errno=1
/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: code signature invalid for '/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB'

/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: stat() failed with errno=1
/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: code signature invalid for '/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB'

/private/var/containers/Bundle/Application/860A658F-17FA-4D3B-B41E-896BA0444E5F/Runner.app/Frameworks/FMDB.framework/FMDB: stat() failed with errno=1
(lldb)

我不知道为什么会出现这个错误消息。它来得很突然,我没有改变我的项目中的任何重大内容。即使对于完整的新项目也会出现此错误。在模拟器上运行良好,在 Android 上也运行良好。(这似乎是我的设备的问题?)

非常感谢您的帮助。感谢您阅读我的问题。

如需进一步联系:不和谐:emrepro#7866

编辑(2020年4月27日),经过几次重新安装和重置我的Mac后,它突然又开始工作了。我认为它又回来了,因为iOS版本又兼容了。我当时使用的是 iOS 测试版。因此,只需更新到最新的稳定测试版或普通版本并重新安装 xcode 就可以了。

最佳答案

flutter 安装不正确时会出现设备问题。请参阅下面的终端命令:

  1. flutter 医生

  2. sudo gem install cocoapods

  3. pod 设置

  4. flutter 干净

运行这些命令。引用这个link了解更多详情

关于iOS 应用程序在真实设备上崩溃。错误 : dyld`__abort_with_payload,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59468119/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com