xcrun avgtool xcrun: error: unable to find utility “avgtool”, not a developer tool or in PATH
问题 Unable to automatically update the version number in Xcode using below command xcrun avgtool xcrun: error: unable to find utility "avgtool", not a developer tool or in PATH Tried below options Added Developer_DIR PATH in .bash_profile and appended to path like below export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" export PATH="/usr/local/bin:$DEVELOPER_DIR:$PATH" Also updated the command Line tools by navigating to Xcode -> Preferences -> Locations -> Command Line Tools: