Swiftpack.co - fdiaz/SwiftInspector as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by fdiaz.
fdiaz/SwiftInspector v0.1.0
SwiftInspector is a command line tool built on top of SwiftSyntax to help inspect usage of Swift code
⭐️ 35
🕓 2 weeks ago
.package(url: "https://github.com/fdiaz/SwiftInspector.git", from: "v0.1.0")


codecov Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

SwiftInspector is a command line tool and set of SPM libraries built on top of SwiftSyntax. SwiftInspector reliably finds usages of classes, protocols, properties, etc. in a codebase by analyzing the Swift AST.


This project is currently under development and can have breaking API changes.


  • Swift 5.6
  • Xcode 13.3.1


Run the following command:

$ git clone git@github.com:fdiaz/SwiftInspector.git
$ cd SwiftInspector
$ make install


If you want to contribute to this project, please take a look at our CONTRIBUTING guidelines. To open the project in Xcode, open the Package.swift file at the root of the repo.

Default branch

The default branch of this repository is main. Between the initial commit and 75bd9f4 , the default branch of this repository was master. See #38 for more details on why this change was made.




Stars: 35
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Release version 0.14.0
12 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics