Instruments: Call Tree View Is Your Friend

January 23rd, 2017

Filed under: Instruments | Be the first to comment!

On Stack Overflow I see the same question constantly from people who use Instruments. Instruments uncovers a problem with their app. The app could have memory leaks. It could use a lot of memory. The people asking the questions want to know how to find the area of their code that is causing the problem. […]


Xcode 8: Automation Instrument Removed

November 14th, 2016

Filed under: Instruments, Xcode | Be the first to comment!

Apple removed the Automation instrument from Instruments in Xcode 8. Use Xcode’s user interface testing to test your iOS app’s user interface.


Time Profiler Instrument

February 17th, 2016

Filed under: Instruments | Be the first to comment!

In this article I cover the Time Profiler instrument and how to find slow spots in your code with it. I’m using the version of Instruments that ships with Xcode 7. If you are using an earlier version of Xcode, some things may look different and some features may be unavailable. If you are new […]


Allocations Instrument: Generations

February 16th, 2016

Filed under: Instruments | Be the first to comment!

I couldn’t cover everything about Instruments in my Getting Started with Instruments article. Having gotten the basics out of the way, I can now write shorter, more focused articles on Instruments. This is the first of those articles, showing how to measure heap memory growth using the Allocations instrument. Measuring Heap Memory Growth Measuring heap […]


Instruments: Locating dSYM Files

February 15th, 2016

Filed under: Instruments | Be the first to comment!

A dSYM file contains your project’s debugging symbols. If you profile your project in Instruments and see memory addresses instead of function names in the call tree view, the problem may be Instruments not finding your project’s dSYM file. Choose Instrument > Call Tree Data Mining > Locate dSYM to find a dSYM file. An […]