/Reaper

A tool for detecting unused code

Primary LanguageRubyMIT LicenseMIT

Reaper

A framework for detecting dead code at runtime. Read more about it in the launch blog post.

Installation

Swift Package Manager

Add Reaper as a dependency with Swift package manager using the URL https://github.com/EmergeTools/Reaper

CocoaPods

Add Reaper to your Podfile:

target 'MyApp' do
  pod 'Reaper', '~> 1.3.1'
end

XCFramework

Download the latest XCFramework from Github releases.

Setup

Start the SDK at app launch by adding the following code:

import Reaper

...

EMGReaper.sharedInstance().start(withAPIKey: "myKey") // The key is provided to you by Emerge

More details can be found in the docs.