【问题标题】:iOS Simulator and Instruments freezeiOS 模拟器和仪器冻结
【发布时间】:2011-10-31 00:32:30
【问题描述】:

我正在尝试做一个 iOS 应用程序,当我按 CMD+I 启动 Instruments 以检查内存泄漏时,模拟器会在几个手势后冻结,Instruments 也是如此。
有时一分钟(或更长时间)后它会起作用,但它让我发疯:(

我有 Mac OS Lion 和 Xcode 4(从 Apple 的开发门户下载的 Lion 版本)。

请帮忙!
提前致谢!

【问题讨论】:

    标签: iphone xcode memory-leaks instruments


    【解决方案1】:

    从这里尝试修复: Bug with starting Instruments via Profile under XCode 4.1 Build 4B110

    基本上,在 Instruments 启动您的应用程序后,Command-Tab 到 Xcode 并返回。我遇到了同样的问题,但这解决了它。

    【讨论】:

    • Command-Tab 到任何地方并返回几次。必须是xcode。这个差点让我用头砸屏幕..o_O
    • 果然……谢谢 Rob,我的屏幕欠你一个(拳头在启动时就停在了 Apple 标志附近)。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-02-21
    • 2012-12-03
    • 2021-08-08
    • 2014-11-19
    • 2013-09-15
    • 2011-12-20
    • 1970-01-01
    相关资源
    最近更新 更多