输出变量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会自动生成伞形标题。
答案 0 :(得分:0)
似乎已在Swift Framework: Umbrella header '[...].h' not found处回答,如果没有,请分享您的podfile和进一步的观察结果。