繁体   English   中英

调试模式不起作用

[英]Debug mode not working

在安装某些Pod之后,我的应用程序的调试模式停止工作。 在断点上,当我尝试通过键入以下命令在控制台中打印任何值时

po cell

这给了我以下错误。

warning: Swift error in module DemoAppDebug info from this module will be unavailable in the debugger.

error: Error in auto-import:
failed to get module 'DemoApp' from AST context:
/Users/macExpert/IOS Projects/DemoApp/Source/DemoApp/Demo-Bridging-Header.h:12:9: note: in file included from /Users/macExpert/IOS Projects/DemoApp/Source/DemoApp/Demo-Bridging-Header.h:12:
#import "MBProgressHUD.h"
    ^
/Users/macExpert/IOS     Projects/DemoApp/Source/DemoApp/DemoApp/ThirdParty/MBProgressHUD/MBProgress    HUD.h:38:2: error: redefinition of enumerator     'MBProgressHUDModeIndeterminate'
        MBProgressHUDModeIndeterminate,
    ^
/Users/macExpert/Library/Developer/Xcode/DerivedData/DemoApp-    amtojfejfgssxoeugwoimotdqqbr/Build/Products/Debug-    iphonesimulator/MBProgressHUD/MBProgressHUD.framework/Headers/MBProgressHUD    .h:38:2: note: previous definition is here
        MBProgressHUDModeIndeterminate,
    ^

第一次遇到这类问题。 专家请帮忙

我只是从桥接文件中删除了一些不需要的导入语句 ,调试模式开始起作用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM