Deleted class drops error message unknown>:0: error: no such file or directory: Deleted class drops error message unknown>:0: error: no such file or directory: swift swift

Deleted class drops error message unknown>:0: error: no such file or directory:


Make sure in your target settings, under Build Phases > Compile Sources that your file isn't listed there:

enter image description here

Also, just check it somehow hasn't been added to Copy Bundle Resources.

enter image description here


If you're developing a pod, and the deleted file is in the pod, try pod install to rebuild the framework.


Check if the deleted files are still in Project, if yes, delete. build ...