Tracing iOS applications

In this recipe, we will learn how to open a project that will be used for profiling its performance.

Getting ready

In this section, we will start by opening our TwitterExample application that we created in our previous chapter.

How to do it...

To begin tracing an application, follow the following outlined simple steps:

  1. Launch Xcode from the /Developer/Applications folder.
  2. Navigate to File | Open, or alternatively press Command + O.
  3. Next, select the TwitterExample.xcodeproj file from within the dialog.
    How to do it...
  4. Click on the Open button to continue and load your project into the Xcode workspace environment.

How it works...

In this recipe, we selected our TwitterExample application that we created in our previous chapter, which will be used to profile its performance using the Instruments application.

In our next recipe, we will look at how we can use the System Trace Instrument to profile our application, to track down system calls, memory, and thread calls that may be affecting the overall performance of your iOS application.

See also

  • The How to run and profile an iOS project recipe
  • The How to detect VM faults recipe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset