clang: error: linker command failed with exit code 1

Finally I solved the problem with broken clang compilation
I always got message

ld: malformed archive TOC entry for <long strange identifier>, offset 362137760 is beyond end of file 303710208
 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

when I interrupted compilation of a large project. And the only way to build a project was to clean and build again. It took a long time. 
I found out I don;t need rebuild all if I delete all files from Debug directory. After that Xcode only relinks the project. It is much faster.

No comments:

Post a Comment