Reputation: 145
ld: file too small (length=0) file '/Users/AshutoshP/Library/Developer/Xcode/DerivedData/TheBouqs-arlmufhxskabmgbuixdzfozlrsph/Build/Intermediates/TheBouqs.build/Debug-iphonesimulator/TheBouqs.build/Objects-normal/x86_64/HomeVC.o' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Upvotes: -1
Views: 2051
Reputation: 4379
I got same issue but I was able to solve it with following steps :
For Clear Derived Data you can use following steps or another SO link.
Step 1 : Click on Xcode > Preferences...
Step 2 : Select Location
Step 3 : Delete Derived Data from its Folder...
hope it will help you...
Upvotes: 2
Reputation: 39
Usually that kind of error comes from a previous build not being cleaned up. You should clean your build folder :
In Xcode, top menu bar select Product
Hold the All key and see Clean change to Clean Build Folder
I do that before all of my build and became a reflex.
Upvotes: 0