Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios Xcode调试器Swift:无法查看调试器中变量的值,lldb命令给出错误信息_Ios_Swift_Xcode_Xcode11.3 - Fatal编程技术网

Ios Xcode调试器Swift:无法查看调试器中变量的值,lldb命令给出错误信息

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

我面临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 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