0
在Xcode 8.3或更低,則不會顯示任何的變量的值: 傘頭 'CocoaAsyncSocket-umbrella.h' 未找到
當變量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自動生成雨傘頭。