Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcrun avgtool xcrun: error: unable to find utility "avgtool", not a developer tool or in PATH

Tags:

xcode

xcrun

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

  1. 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"

  1. Also updated the command Line tools by navigating to Xcode ->
    Preferences -> Locations -> Command Line Tools: selected Xcode 10.1 from drop down.

Any help will be really appreciated.

like image 710
Badrinath Avatar asked Dec 14 '22 11:12

Badrinath


1 Answers

It's aGvtool and not aVgtool.

Try to run xcrun agvtool, it should be better

like image 184
Théo dvn Avatar answered May 16 '23 07:05

Théo dvn