美文网首页
LLDB命令失效,报错

LLDB命令失效,报错

作者: 没穿秋裤 | 来源:发表于2020-11-18 14:17 被阅读0次

xcode用着用着 LLDB命令就不好使了 简单的一个po都不行

po XXX

报错

error: instance method 'getBaseDirection' has incompatible result types in different translation units ('ZRTextDirection' vs. 'JVTextDirection')
instance method 'getBaseDirection' also declared here
error: instance method 'getBaseDirection' has incompatible result types in different translation units ('ZRSignTextDirection' vs. 'JVTextDirection')
instance method 'getBaseDirection' also declared here
error: class method 'cast:' has incompatible result types in different translation units ('NSObject *' vs. 'instancetype' (aka 'id'))
class method 'cast:' also declared here

解决:

在Build_Setting里面,搜
DEBUG_INFORMATION_FORMAT
然后DEBUG下 给这个选项改成dwarf

相关文章

网友评论

      本文标题:LLDB命令失效,报错

      本文链接:https://www.haomeiwen.com/subject/wlrciktx.html