Badrinath
Badrinath

Reputation: 355

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

  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.

Upvotes: 8

Views: 2445

Answers (3)

Wirat Leenavonganan
Wirat Leenavonganan

Reputation: 119

I updated the command Line tools by navigating to Xcode -> Preferences -> Locations -> Command Line Tools to resolve above unable to find agvtool.

Upvotes: 2

i Kiwi
i Kiwi

Reputation: 71

Maybe you have many versions of Xcode or the xcode-select cannot relation with Xcode. try:

sudo xcode-select -s /Applications/Xcode.app

Upvotes: 7

Théo dvn
Théo dvn

Reputation: 940

It's aGvtool and not aVgtool.

Try to run xcrun agvtool, it should be better

Upvotes: 11

Related Questions