error: unable to load standard library for target 'arm64-apple-ios10.0-simulator'?

前端 未结 11 1441
广开言路
广开言路 2020-12-16 11:35

I updated my Xcode but not able to build. It\'s failing with:

:0: error: unable to load standard library for target \'arm64-appl

11条回答
  •  無奈伤痛
    2020-12-16 12:00

    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
    

提交回复
热议问题