I just tried to run an application on my iPad and got this error:
ld: file too small (length=0) file '(PathToMyProjectBuild)/Objects-normal/arm64/Palette.o' for architecture arm64
clang: error: linker command failed with exit code 1
This error usually happens after you interrupted a build. Product/Clean will usually fix it.
I believe the compiler is trying to save binary data in a file/space that was allocated by the interrupted build but the new binary data is larger than the previous one.