[英]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.