👋 Hi, I've updated Periphery to 3.0.0, successfully followed the migration guide and ran periphery scan which yielded report of unused code ✅
However, after deleting an unused file an running periphery scan again, I get the following error
* Inspecting project...
* Building SchemaName...
* Indexing...
error: No such file or directory: /Users/username/XcodeProjects/project/UnusedView.swift.
I was able to resolve it by removing the build folder by running
rm -rf ~/Library/Caches/com.github.peripheryapp
after which periphery scan succeeded again ✅
It feels like this was not an issue on version 2.
Should we therefore be running periphery scan --clean-build after deleting a file?
👋 Hi, I've updated Periphery to 3.0.0, successfully followed the migration guide and ran
periphery scanwhich yielded report of unused code ✅However, after deleting an unused file an running
periphery scanagain, I get the following errorI was able to resolve it by removing the build folder by running
after which
periphery scansucceeded again ✅It feels like this was not an issue on version 2.
Should we therefore be running
periphery scan --clean-buildafter deleting a file?