Opened 3 weeks ago

Last modified 3 weeks ago

#70803 new defect

sudo port install fail

Reported by: AbgaryanDave Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm trying to install libusb on my macOS Sequoia and I'm getting

Error: The installed version of the Command Line Tools for Xcode (15.3.0.0.0.1.1708646388) is too old to use on the installed OS version. Please install version 16 or later on macOS 15.

I have version 16 of Xcode installed though

	Title: Command Line Tools for Xcode, Version: 16.0, Size: 751012KiB, Recommended: YES, 

Change History (3)

comment:1 Changed 3 weeks ago by AbgaryanDave

Description: modified (diff)

comment:2 Changed 3 weeks ago by neverpanic (Clemens Lang)

comment:3 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: libusb install removed
Priority: HighNormal

Xcode and the Xcode command line tools are two different things. You should install version 16 of both.

If you are upgrading from CLT < 16 to 16 you should afterward run this command to delete a directory that will cause C++ ports to fail to build; see #70750:

sudo rm -rf /Library/Developer/CommandLineTools/usr/include/c++
Note: See TracTickets for help on using tickets.