I\'m getting this error
error: Invalid bitcode signature clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Invalid bitcode signature
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Cleaning Derived data folder worked for me.