gpt4 book ai didi

iphone - “无法读取符号”错误

转载 作者:行者123 更新时间:2023-12-03 19:26:03 26 4
gpt4 key购买 nike

当我在设备上“构建并运行”时,控制台显示:

warning: Unable to read symbols for ""/Users/Steve/Blue/build/Debug-iphoneos"/Blue.app/Blue" (file not found).
warning: Unable to read symbols for ""/Users/Steve/Blue/build/Debug-iphoneos"/Blue.app/Blue" (file not found).

这是我应该担心的事情吗?如果是这样,我应该从哪里寻找问题的根源?该应用程序运行正常,但我只是担心这可能是 AppStore 审批问题。

最佳答案

这本身并不是一个答案,但它可能提供更多线索和额外的弹药。

我也收到了完全相同的警告 - 两次 - 并且仅适用于“Device - 3.0 | Debug”版本。使用模拟器时,不会出现此类警告。

就我而言,该消息读起来与您的消息类似,其方式表明某些内容被放置在过多的引号中:

warning: Unable to read symbols for""/Users/jdandrea/path/to/MyApp/build/Debug-iphoneos"/MyApp.app/MyApp"(file not found).

warning: Unable to read symbols for""/Users/jdandrea/path/to/MyApp/build/Debug-iphoneos"/MyApp.app/MyApp"(file not found).

就好像在某个地方,“/Users/jdandrea/path/to/MyApp/build/Debug-iphoneos”存在并带有明确的引号,但是在哪里?

此外,调试目标设置确实选中了“生成调试符号”。

此外,我还有两个全局断点:[NSException raise] 和 objc_exception_throw。如果我禁用这些,我仍然会收到上述消息。话又说回来,如果我启用它们,我(有时?)会得到这个:

warning: Couldn't raise load state forrequested shlib: "libobjc.A.dylib" forbreakpoint 1.

warning: Couldn't raise load state forrequested shlib: "CoreFoundation" forbreakpoint 2.

这一切都已添加到现有的 Cocoa Touch 应用程序中。我一直在查看目标设置和代码库,但我不确定出了什么问题。甚至仪器和其他分析也没有提示泄漏。

(我提到关于断点的第二部分是为了防止它相关。如果不是,那么这是一个单独的问题。同样,它仅在设备上调试时显示。)

总之,我也很困惑。希望这有助于为某人提供更多线索来帮助破案!

关于iphone - “无法读取符号”错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1022747/

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