Opened 4 years ago
Last modified 3 years ago
#61741 new defect
Use — at Initial Version
Reported by: | philgp (Phil Pishioneri) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description
I've gotten this error on a few occasions of updating my ports (via "sudo port upgrade outdated"):
Warning: cltversion: The Command Line Tools are installed, but MacPorts cannot determine the version.
I've read the page that is also output (https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt), and did this once, but it seems the latest Xcode update broke it again.
Can an alternative method be used to get the version of Xcode? This
https://stackoverflow.com/questions/33732042/check-xcode-version-from-command-line
says that
system_profiler SPDeveloperToolsDataType
can be used. It seems to provide appropriate output on my system (and has options for either xml or json output).
Note: See
TracTickets for help on using
tickets.