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