I copied my project in a running state but the copied project doesn\'t work for me although the actual project is running fine. When I build my copied project it gives me th
If you're working with SPM, deleting the .build folder and re-running swift build solves the issue for me.
.build
swift build