cargo xbuild causes the following error. Solved with cargo-xbuild version 0.5.31. However, xargo build --target cargo_settings still causes the error.

error: failed to get bitcode from object file for LTO (Bitcode section not found in object file)