如何在Xcode 8中启用可视内存调试器?

如何在Xcode 8中启用可视内存调试器?

问题描述:

我将项目从以前版本的Xcode迁移到Xcode8。我想要的是使用新的可视内存调试器。它在新项目中可用,但在我导入的项目中完全不存在。为什么会这样?

I migrated a project from the previous version of Xcode to Xcode 8. What I want is to use the new visual memory debugger. It's available in new projects, but is entirely missing in my imported one. Why is this?

看来,Visual Memory Debugger的运行需要Swift 3。

It appears that Swift 3 is required for Visual Memory Debugger to work.

我的应用程序迁移到Swift 2.3不能正常工作,当我尝试将其迁移到Swift 3.0时,它立即可以工作。

My app migrated to Swift 2.3 did not work, when I tried migrating it to Swift 3.0 it worked instantly.

运行时清理复选框为视觉内存调试器不需要运行,但是被禁用的原因是相同的。

The runtime sanitization checkbox is not required for visual memory debugger to work, however the reason that it is disabled is the same.