linker command failed with exit code 1 (use -v to see invocation)の対処
file too small (length=0) file '/some/file/path' for architecture x86_64 linker command failed with exit code 1 (use -v to see invocation)
↓
command + shift + k
これでだいたい解決する
多分ビルドが失敗したときに、変な風に(0byte)書き換わってるのが原因ぽい