Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode linker error: file too small for architecture x86_64

I'm developing an application in Xcode.

When I try to build, this error comes up:

ld: in /Users/theodore/Library/Developer/Xcode/DerivedData/Tower-bkpdifuqssebjdgurzmtirbxejnn/Build/Intermediates/Tower.build/Debug/Tower.build/Objects-normal/x86_64/TWRAppDelegate.o, file too small for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Does anyone know what's wrong?

like image 429
tbodt Avatar asked Dec 25 '12 21:12

tbodt


1 Answers

Stealing @martin-baulig's answer:

Try a full rebuild / clean. It's possible that the previous build has been abnormally aborted, leaving the TWRAppDelegate.o file corrupted or zero-size.

like image 151
Peter K. Avatar answered Sep 18 '22 09:09

Peter K.