I found a lot of answers to this question . I added -fembed-bitcode in other linker flags
and added -fembed-bitcode in other c flags
in project i added -fembed-bitcode too
But I still get this clang error.
This actually looks like the lib your using was build without bitcode enabled. To fix this disable bitcode in buildSetting for your project.
https://i.sstatic.net/yHSWb.png
Or get a version with bitcode enabled.