断点调试
(lldb) po 变量名
warning: Swift error in module 项目名.
Debug info from this module will be unavailable in the debugger.
error: in auto-import:
failed to get module '项目名' from AST context:
...
这种情况,请仔细检查你的桥接文件:项目名-Bridging-Header,是否导入了第三方库。若导入了第三方库,则该库是否是以Cocoapods来管理的,比如AFNetWorking是通过Cocoapods
管理的,那么在桥接文件中,你应该
@import AFNetWorking;
而不是
#import "AFNetWorking
.h",或者以这种#import导入该三方的其他文件
转自:
https://blog.csdn.net/littleFish_ZYY/article/details/79639974