xcode 8调试器'无法解析类型' [英] xcode 8 Debugger 'Could not resolve type'
问题描述
在Xcode 8中,当遇到任何断点,并且我尝试在Xcode调试器中打印任何对象时,它总是打印无法解析类型。我在互联网上搜索得足够多了。我已检查EditScheme-> Run-> Info-> BuildConfiguration是否设置为'Debug'。构建设置 - >优化级别设置为无。但没有解释为什么会发生这种情况的线索。谁能帮到我这里?提前致谢。
In Xcode 8, When any break point is hit, and I try to print any object in the Xcode debugger, it always prints "Could not resolve type". I have searched enough on the internet. I have checked if EditScheme->Run->Info->BuildConfiguration is set to 'Debug'. Build setting->Optimisation level is set to 'None'. But no clues on why this happens. Could anyone help me out here? Thanks in advance.
推荐答案
我遇到了类似的问题一个纯粹的swift框架,它没有任何桥接头,但是没有那个 SWIFT_INSTALL_OBJC_HEADER
设置为 YES
I encountered a similar issue with a pure swift framework that doesn't have any bridging headers but non the less had SWIFT_INSTALL_OBJC_HEADER
set to YES
在 https://stackoverflow.com/a/51186560中有更详细的描述/ 385307
将设置更改为否
调试再次有效。
After changing the setting to NO
debugging works again.
这篇关于xcode 8调试器'无法解析类型'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!