Opened 5 years ago

Closed 4 years ago

#59901 closed defect (worksforme)

Cannot install pallet in Catalina

Reported by: jiajuwu (Wu Jiaju) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: Pallet

Description (last modified by jmroot (Joshua Root))

apple@ homebrew$ port -v
MacPorts 2.6.2
Entering shell mode... ("help" for help, "quit" to quit)
[Taps/homebrew] > quit
Goodbye
apple@ homebrew$ sudo port install pallet
Password:
Error: Port Pallet requires a full Xcode installation, which was not found on your system.
Error: You can install Xcode from the Mac App Store or https://developer.apple.com/xcode/
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port pallet failed
apple@ homebrew$ 

macOS Catalina
10.15.2 (19C57)

Xcode 11.3 

Attachments (1)

截屏2019-12-3022.16.22.png (49.3 KB) - added by jiajuwu (Wu Jiaju) 5 years ago.
xcode version

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by jiajuwu (Wu Jiaju)

xcode version

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: Pallet added

While Pallet probably still fails to build for other reasons (see existing tickets), this message indicates that running xcodebuild -version didn't work.

comment:2 Changed 4 years ago by emrtldrgn

This worked for me.

From CatalinaProblems

MacPorts must be re-installed in a version configured for macOS 10.15 Catalina.

Ensure you have Xcode 11.1 or greater installed and selected (e.g. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer), and that you have the command line tools installed (xcode-select --install). You also have to agree to the license by running sudo xcodebuild -license.

There have been reports that the -license option might not be sufficient alone, and following command might be required to agree to the license: sudo xcodebuild -runFirstLaunch

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 in reply to:  2 Changed 4 years ago by sutra (Sutra Zhou)

Replying to emrtldrgn:

This worked for me.

From CatalinaProblems

MacPorts must be re-installed in a version configured for macOS 10.15 Catalina.

Ensure you have Xcode 11.1 or greater installed and selected (e.g. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer), and that you have the command line tools installed (xcode-select --install). You also have to agree to the license by running sudo xcodebuild -license.

There have been reports that the -license option might not be sufficient alone, and following command might be required to agree to the license: sudo xcodebuild -runFirstLaunch

The command xcode-select -s /Applications/Xcode.app/Contents/Developer helps, for my issue on macOS Big Sur(11.0.1):

$ sudo port install nodejs15
Error: Port nodejs15 requires a full Xcode installation, which was not found on your system.
Error: You can install Xcode from the Mac App Store or https://developer.apple.com/xcode/
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port nodejs15 failed
$ xcodebuild -version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 4 years ago by kencu (Ken)

Resolution: worksforme
Status: newclosed

There doesn't seem to be anything here to do with Pallet -- this looks like the user needed to install and possibly select xcode. Please reopen if otherwise.

Note: See TracTickets for help on using tickets.