gpt4 book ai didi

ios - 使用仪器 - 设备泄漏

转载 作者:IT王子 更新时间:2023-10-29 07:34:39 24 4
gpt4 key购买 nike

我开始在 iPhone 3G 上使用 Instruments-Leaks。当我尝试在 iPhone 上使用 Instruments 运行应用程序时,我得到了

Target failed to run: Remote exception encountered: 'Failed to get task for pid 280'

想法?

我唯一一次使用仪器成功运行该应用程序时运行速度非常慢,我无法对其进行测试。在搜索泄漏的设备上运行应用程序的步骤是什么?

最佳答案

我的解决方案是确保我的配置文件方案使用“调试”而不是“发布”构建配置。

在 Xcode 4 中,从顶部菜单中选择 Product/Edit Scheme然后单击左侧的“个人资料”按钮。在“信息” Pane 中,您将看到构建配置的设置 - 将其设置为“调试”

关于ios - 使用仪器 - 设备泄漏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4323369/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com