I am trying to use Instruments to find leaks within my app. I do it in the same way as I did before updating to Xcode 6.x. Since updating, it won't take any snapshots: the leaks instrument status displays "Analyzing process" and will never change.
Both Xcode 6.0.1 and 6.1 GM 2 exhibit this problem.
Any workaround?
We open the Xcode leaks instrument first and press the record button. When the app automatically launches, we press on the navigate button that presents our leaking view controller. We simply pop it using navigation item's back button. Finally, we observe the effect in the leaks instrument and memory graph.
Quick start on shooting your memory issueOpen your app and play the feature where has a potential memory leak. 3. Click the Debug Memory Graph button on Xcode, Then the memory graph will show up. The purple icons show the memory leaks.
Seems like is a bug on iOS8 and not on Xcode. I have Xcode6.1 and the memory leak profiler seems to work on iOS7.
As a workaround until Apple fix this (already reported the bug and was marked as duplicate) you can profile your memory leaks using a simulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With