Ios Xcode调试器Swift:无法查看调试器中变量的值,lldb命令给出错误信息
我面临Xcode版本11.3.1的问题。当我试图调试代码时,当代码在调试器点停止时会出现以下错误Ios Xcode调试器Swift:无法查看调试器中变量的值,lldb命令给出错误信息,ios,swift,xcode,xcode11.3,Ios,Swift,Xcode,Xcode11.3,我面临Xcode版本11.3.1的问题。当我试图调试代码时,当代码在调试器点停止时会出现以下错误 /Users/dhavalkansara/Library/Developer/Xcode/DerivedData/Runner-eyrexmpjkcwrmggjgqgxkfyogvgk/Build/Products/Debug-iphonesimulator/Runner.app/Runner: Cannot load Swift type information; AST validation e
/Users/dhavalkansara/Library/Developer/Xcode/DerivedData/Runner-eyrexmpjkcwrmggjgqgxkfyogvgk/Build/Products/Debug-iphonesimulator/Runner.app/Runner: Cannot load Swift type information; AST validation error in "Runner": The module file format is too old to be used by this version of the debugger.
Cannot create Swift scratch context (couldn't load the Swift stdlib)Cannot create Swift scratch context (couldn't load the Swift stdlib)Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
Shared Swift state for Runner could not be initialized.
The REPL and expressions are unavailable.
- 当我尝试使用lldb
打印变量值时,在下面的屏幕截图中,左侧的变量没有可见值:po varName
- 删除的派生数据
- 干净利落
- 重新启动的Xcode