未找到伞标题'CocoaAsyncSocket-umbrella.h'

时间:2017-04-01 09:16:34

标签: ios xcode debugging cocoapods

使用XCode 8.3或更低版本时,不会显示任何变量值: enter image description here

输出变量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会自动生成伞​​形标题。

1 个答案:

答案 0 :(得分:0)

似乎已在Swift Framework: Umbrella header '[...].h' not found处回答,如果没有,请分享您的podfile和进一步的观察结果。