codesign_allocate: error: unable to find utility “codesign_allocate”, not a developer tool or in PATH

前端 未结 6 1671
野性不改
野性不改 2020-12-19 05:06

I upgraded my Mac to 10.10.3 and Xcode to 6.3.1 yesterday; today I can\'t use git, codesign_allocate....and more.

`sh: line 1: 18421 Abort trap:         


        
6条回答
  •  醉话见心
    2020-12-19 05:38

    Sometimes issue is with path of Xcode's command line tool which could be fixed by fixing path of XCode. Please check path of XCode with command xcode-select -p. If it shows incorrect XCode path then you can use command sudo xcode-select -s PATH_TO_XCODE_DEVELOPER_FOLDER.

    For example, sudo xcode-select -s "/Application/XCode.app/Contents/Developer"

提交回复
热议问题