对于XCode 8.3或更低版本,不显示变量的值:

当输出变量T时:
lldb> po t然后,XCode发出以下错误消息:
warning: Swift error in module testProject.
Debug info from this module will be unavailable in the debugger.
error: in auto-import:
failed to get module 'testProject' from AST context:
error: /Users/xxx/Library/Developer/Xcode/DerivedData/testProject-ancfblnaxqmiivgqakzxqkocqfrg/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket/CocoaAsyncSocket.framework/Modules/module.modulemap:2:19: error: umbrella header 'CocoaAsyncSocket-umbrella.h' not found
umbrella header "CocoaAsyncSocket-umbrella.h"我找到了这个问题的几个页面:Move header on top
然而,它并没有解决这个问题。问题可能出在CocoaPod上。在以前的CocoaPod版本中,存在无法编译Pod库的问题。因为CocoaPod会自动生成保护伞标题。
发布于 2017-04-02 11:29:34
似乎这个问题已经在Swift Framework: Umbrella header '[...].h' not found上得到了回答,如果没有,请分享你的播客文件和进一步的观察结果。
https://stackoverflow.com/questions/43154964
复制相似问题