LLVM ERROR: IO failure on output stream in Xcode.
LLVM ERROR: IO failure on output stream
You're most likely out of disk space. Where is your build folder located? It might not be allowed to write and causing that error.
go to xcode > preference > Locations > Click on derived data > remove all derived data and empty trash
Now try to build your project. it's successfully build.