I am trying to rebuild WebRTC iOS framework with Bitcode enabled but it's not working it's giving me errors. And the error messages are
clang++: error: unknown argument: '-ffile-compilation-dir=.'
clang++: error: -gdwarf-aranges is not supported with -fembed-bitcode
If I build it without bitcode enable true only then it's working. Can anyone have any idea why I am having this issue? My Xcode version is 12.5.1
The error occurs due to the old version of clang in Xcode. I executed the script with the given arguments:
Inside the webRTC dist, there is a new version of the LLVM (clang) package that will build the correct framework!