From iPhone Development Wiki

InspectiveC is an Objective-C library that you can use in order to log useful information about certain objects, classes, and selectors.

The source code and README can be found at the Github page.


You can view the official documentation at the Github page linked above. In the example below, I'll be using the InspCWrapper.

#include "InspCWrapper.m"

%hook SBApplicationController

- (id)init {
  id result = %orig;
  // Watch this object.
  return result;


%ctor {
  // Watch all direct instances of SBDockView.
  // Watch all methods named "icon:launchFromLocation:".

Accessing the logs

For processes that are not sandboxed, the log that InspectiveC generates is placed in /var/mobile/Documents/InspectiveC/.

As of iOS 9, many built-in apps, such as Safari, have their data stored in sandboxed containers, not just AppStore apps anymore.

Sandboxed data containers are in /var/mobile/Containers/Data/Application/.

To find the folder where InspectiveC put the logs, check the system log.