Project building started failing when I updated Xcode to 12.5. I'm getting two errors: CompileSwift failed with a nonzero exit code and Segmentation fault: 11
Each of these errors is printing out bunch of swift files which are normally used in project.
Output format is like this:
Compile abcd.swift (arm64)
Segmentation fault: 11
and
Compile abcd.swift (arm64)
Command CompileSwift failed with a nonzero exit code
I've tried with clean build, removing derived data, updating pods, and even restarting laptop and nothing works.