【问题标题】:atos cannot load symbols for the file erroratos 无法为文件错误加载符号
【发布时间】:2018-08-19 10:04:36
【问题描述】:

我的应用被拒绝了,想知道哪一行有问题。

无论如何,我提取了 .app 文件和 .app.dSYM 文件并将其放在同一个新目录中。

崩溃日志说。

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001838d42e8 0x1838b2000 + 140008
1   libsystem_pthread.dylib         0x00000001839e92f8 0x1839e6000 + 13048
2   libsystem_c.dylib               0x0000000183842fbc 0x1837e0000 + 405436
3   libc++abi.dylib                 0x0000000182fdf068 0x182fdd000 + 8296
4   libc++abi.dylib                 0x0000000182fdf210 0x182fdd000 + 8720
5   libobjc.A.dylib                 0x0000000183008810 0x183000000 + 34832
6   libc++abi.dylib                 0x0000000182ff754c 0x182fdd000 + 107852
7   libc++abi.dylib                 0x0000000182ff7158 0x182fdd000 + 106840
8   libobjc.A.dylib                 0x00000001830086e8 0x183000000 + 34536
9   CoreFoundation                  0x0000000183c84cc4 0x183c7c000 + 36036
10  GraphicsServices                0x0000000185b30f84 0x185b26000 + 44932
11  UIKit                           0x000000018d3dd5c4 0x18d36a000 + 472516
12  ARlocator  <- this is app name              0x0000000102415434 0x102410000 + 21556

在我命令的终端上

atos -arch arm64 -o ARlocator.app/ARlocator -l 0x102410000 0x0000000102415434

但它说 atos 无法为架构 arm64 的文件 ARlocator.app/ARlocator 加载符号。

【问题讨论】:

  • 看起来您的 dSYM 文件不是为 arm64 架构构建的。 file &lt;path-to-your-dSYM&gt; 的输出是什么?

标签: terminal command store


【解决方案1】:

dSYM 是一个捆绑包。目标 dwarf 数据在 ../contents/resources/dwarf。

【讨论】:

    猜你喜欢
    • 2020-10-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-08
    相关资源
    最近更新 更多