peripheryapp / periphery

A tool to identify unused code in Swift projects.
MIT License
5.2k stars 186 forks source link

'no such module' when scanning a project with CocoaPods #823

Open abbydomi opened 1 week ago

abbydomi commented 1 week ago

Periphery is installed via homebrew and at the latest version as of this post, when running the scan command it fails to find pods, when building the specified target outside of the aggregate it builds and the app launches. Periphery by terminal also fails with the same 'no such module found' error.

Screenshot 2024-09-23 at 10 41 33

I'm not really sure what is causing the issue or what I might've done wrong, it was working and after removing a couple pods from the podfile to migrate them to SPM it started not detecting other pods.