Dav*_*vid 15 xcode lldb swift xcode10
升级到Xcode 10.0后,调试器无法执行基本功能.调试器问题可能与升级到10.0无关,但我怀疑这是催化剂.
Run Code Online (Sandbox Code Playgroud)Printing description of x x = <could not resolve type>
其次是:
Run Code Online (Sandbox Code Playgroud)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",视图中的内容绝对为零.
直接使用(lldb)接口,当我尝试打印变量,即po x打印变量"x"时,我首先给出了关于切换到新的表达式求值程序的消息,但是在第二次执行相同的打印命令时po x,一个不同的错误表示为
Run Code Online (Sandbox Code Playgroud)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,调试器在所有设备上都有完全相同的症状.
我正在使用 Carthage 并遇到了同样的问题。使用此命令更新我的依赖项解决了我的问题:
carthage update --platform iOS --no-use-binaries
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2405 次 |
| 最近记录: |