任何人都可以在使用 Xcode 10.2.1 (10E1001)/Swift 5/iOS 12.2 创建的新 和未更改 单 View 应用程序中重现内存泄漏吗?如何使用集成的内存泄漏工具认真工作?有任何解决方法吗?
注意
每次启动分析器工具时,泄漏量都不同。
编辑 1
我注意到,Xcode 10 使用了新的构建系统。也许问题是基于此。 Build System Release Notes for Xcode 10
编辑 2
这question好像和我的很像。
最佳答案
新的 Xcode 10.3 解决了这个问题 release !
Resolved an issue where running an app in iOS 12.2 or later under the Leaks instrument resulted in random numbers of false-positive leaks for every leak check after the first one in a given run. (48549361)
关于swift - Xcode 10.2 检测到新的单 View 应用程序中的内存泄漏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56208665/