I'm using Swift 3, Xcode 8.1, CocoaPods 1.1.1. After running pod update
, every time i try to use Xcode's lldb console - it prints an error.
For example, po self
outputs:
Shared Swift state for My App has developed fatal errors and is being discarded.
REPL definitions and persistent names/types will be lost.
warning: Swift error in module My App.
Debug info from this module will be unavailable in the debugger.
error: in auto-import:
failed to get module 'My_App' from AST context:
Does anyone know how to fix this?
Swift doesn't currently support debugging pre-built (i.e. built on another machine) Swift binaries. Make sure that you build all the CocoaPods modules you are using locally. If that doesn't fix the problem, please file a bug with http://bugs.swift.org or Apple's bug reporter http://bugreporter.apple.com.