Xcode version must be specified to use an Apple CROSSTOOL

前端 未结 5 430
庸人自扰
庸人自扰 2021-01-30 03:22

I try to build tensorflow-serving using bazel but I\'ve encountered some errors during the building

ERROR:/private/var/tmp/_bazel_Kakadu/3f0c35881c95d2c43f04614         


        
5条回答
  •  借酒劲吻你
    2021-01-30 04:00

    It looks like xcode_configure isn't properly identifying that you have xcode installed. This can sometimes happen if you install xcode but have not yet fully opened it (it may ask you to agree to Terms and Conditions before being fully functional). If this is the problem, you'll need to bazel clean --expunge again after that...

    If this doesn't help, you can get some debug information to identify what's gone wrong, by invoking (after a failed build):

    cat $(bazel info output_base)/external/local_config_xcode/BUILD

    This should contain some comments pertaining to failures in finding your installed xcodes.

提交回复
热议问题