I updated my Xcode but not able to build. It\'s failing with:
:0: error: unable to load standard library for target \'arm64-appl
Resetting all environment variables is not a solution, since that will also unset SSH keys for instance, which will cause cloning to fail in case SSH authentication is used.
However, the only problematic environment variable is LLVM_TARGET_TRIPLE_SUFFIX
, so unsetting that solves the problem.
unset LLVM_TARGET_TRIPLE_SUFFIX
carthage update 2>&1