I am getting the below error after deleting file from the project,
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
I have tried below ways to fix the above issue, but northing is worked for me.
- Deleted the derive data, cleaned(cmd + shift + k) and built once
again still I am getting the same error. - I have checked in build phase -> compile sources, no files are in red color to delete.
- If remove the reference from the project, build is happening but files are still exit in our project folder. I want to delete those files permanently.
Please help to fix above issue.
If you change any file folder location or change any Objective-C Bridging file path. Then it's happened some time.