如何修复Xcode 10.0调试器,它不能完全正常运行? [英] How to fix Xcode 10.0 debugger, it is not fully functioning?

查看:110
本文介绍了如何修复Xcode 10.0调试器,它不能完全正常运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到Xcode 10.0后,调试器无法执行基本功能.调试器问题可能与升级到10.0无关,但我怀疑这是催化剂.

After upgrading to Xcode 10.0 the debugger is failing to perform basic functions. It's possible the debugger problems are unrelated to the upgrade to 10.0 but I suspect this as the catalyst.

  • 突破点正在打破
  • 局部变量"区域(不确定这是否是恰当的术语)列出了局部变量,但无法提供有关它们的任何信息.尝试执行类似"x的​​打印描述"之类的操作,结果是错误消息:
Printing description of x
x = <could not resolve type>

其次:

note: Swift compiler options for ProjectX conflict with options 
found in other modules;
 Switching to a new expression evaluator for ProjectX, old $R 
variables are lost.

  • 当为任何给定变量选择"x的视图内存"时,将显示内存视图",但地址为"0x0",并且视图中的内容绝对为零.

    • when selecting "view memory of x" for any given variable, the "memory view" appears, but the address is "0x0" and there is absolutely zero content in the view.

      当我尝试打印变量时,直接使用(lldb)接口,即po x打印变量"x",我首先得到上面的信息,即切换到新的表达式求值器,但是在第二次执行相同的打印命令po x时,显示为另一个错误

      Using the (lldb) interface directly, when I try to print a variable, i.e. po x to print the variable "x" I'm first given the message above about switching to a new expression evaluator, but upon second execution of the same print command po x, a different error is presented as

      error: Swift expressions require OS X 10.10 / iOS 8 SDKs or later.
      

    • 是的,我在OS X 10.13上,我的iOS SDK是12.0,并且我已经模拟了各种设备iPad 6,pro 2,air 2,iPhone X,调试器在所有设备上的症状完全相同.

      Yes, I am on OS X 10.13 and my iOS SDK is 12.0 and I've simulated various devices iPad 6, pro 2, air 2, iPhone X, debugger has exact same symptoms on all devices.

      • 我试图在新位置重新克隆存储库,以在新位置导入新的工作区.
      • 删除DerivedData并多次重启Xcode
      • 已卸载并重新安装的Xcode
      • 清理并重建了所有内容
      • 重新启动计算机

      推荐答案

      我将Cocoapod版本升级到1.6.0.beta.2,并且调试器现在可以工作了.似乎是CommonCrypto引起了问题

      I upgraded my Cocoapod version to 1.6.0.beta.2 and my debugger works now. Seems like CommonCrypto is the causing the issue

      这篇关于如何修复Xcode 10.0调试器,它不能完全正常运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆