{"id":29550134,"url":"https://github.com/getsentry/Reaper-iOS","last_synced_at":"2025-07-18T01:04:11.802Z","repository":{"id":215164121,"uuid":"500873553","full_name":"getsentry/Reaper-iOS","owner":"getsentry","description":"A tool for detecting unused code","archived":false,"fork":false,"pushed_at":"2025-07-08T18:55:04.000Z","size":185,"stargazers_count":36,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T19:48:56.534Z","etag":null,"topics":["tag-to-be-production-20250623"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getsentry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-07T14:23:38.000Z","updated_at":"2025-07-08T18:55:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"893564bb-adcc-4e3f-8222-1a577c09ed69","html_url":"https://github.com/getsentry/Reaper-iOS","commit_stats":null,"previous_names":["emergetools/reaper","getsentry/reaper-ios"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/getsentry/Reaper-iOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2FReaper-iOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2FReaper-iOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2FReaper-iOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2FReaper-iOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getsentry","download_url":"https://codeload.github.com/getsentry/Reaper-iOS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2FReaper-iOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265686649,"owners_count":23811210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tag-to-be-production-20250623"],"created_at":"2025-07-18T01:03:27.275Z","updated_at":"2025-07-18T01:04:11.778Z","avatar_url":"https://github.com/getsentry.png","language":"TypeScript","readme":"# Reaper\n\nA framework for detecting dead code at runtime - Reaper is an SDK added to your app to report which Swift and Objective-C types were used for each user session. It supports all classes written in Objective-C, most non-generic Swift classes, and some Swift structs/enums.\n\nThe framework detects the set of classes that are used, and the `Scripts` directory in this repo contains a program to determine the set of all possible types that reaper can detect.\nThe difference of these sets are the unused types.\n\nSee additional [resources](#resources) below.\n\n## Installation\n\n### Swift Package Manager\n\nAdd Reaper as a dependency with Swift package manager using the URL https://github.com/getsentry/Reaper-iOS.git\n\n### CocoaPods\n\nAdd Reaper to your Podfile:\n\n```Ruby\ntarget 'MyApp' do\n  pod 'Reaper', '~\u003e 1.6'\nend\n```\n\n### XCFramework\n\nDownload the latest XCFramework from [Github releases](https://github.com/EmergeTools/Reaper/releases).\n\n## Setup\n\nStart the SDK at app launch by adding the following code:\n\n```Swift\nimport Reaper\n\n...\n\nEMGReaper.sharedInstance().start { types in\n  // Handle list of used types\n}\n```\n\n## Determining all types\n\nRun `tsc ./Scripts/main.ts` then `node ./Scripts/main.ts PATH_TO_YOUR_APP.app`\n\n## Resources\n\n- [Example backend](https://github.com/getsentry/reaper-server)\n- [Performance \u0026 Size Impact](https://docs.emergetools.com/docs/reaper#performance-impact)\n- [Open sourcing Reaper](https://blog.sentry.io/an-open-source-sdk-for-finding-dead-code/)\n- [Launch Blog Post](https://www.emergetools.com/blog/posts/dead-code-detection-with-reaper).\n- [Reaper for Android](https://github.com/EmergeTools/emerge-android/tree/main/reaper)\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2FReaper-iOS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetsentry%2FReaper-iOS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2FReaper-iOS/lists"}