0
特定のポッドのインストール後、私のアプリケーションのデバッグモードが機能しなくなります。ブレークポイントでは、私はそれは私に次のエラーを与えているデバッグモードが動作しない
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,
^
初めてこのタイプの問題に直面しました。専門家は、私はちょうどファイルを橋渡しからいくつかの不要なimport文を削除して、デバッグモードで作業を開始
これを参照してください。http://stackoverflow.com/questions/31219422/swift-debugger-does-not-show-variable-values-when-importing-objc-framework –