Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#59527 closed defect (fixed)

owncloud-client, nextcloud-client: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: owncloud-client, nextcloud-client

Description

owncloud-client fails to build:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Maybe adding use_xcode yes is needed.

Change History (5)

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Port: nextcloud-client added
Summary: owncloud-client: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instanceowncloud-client, nextcloud-client: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Same problem affects nextcloud-client, which has no maintainer. Perhaps you can look into that when you look into this.

comment:2 Changed 5 years ago by Schamschula (Marius Schamschula)

Indeed it now does. It used to work w/o use_xcode yes.

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

Well use_xcode yes is new for MacPorts 2.6.0. In older versions of MacPorts, a port was always allowed to use any part of Xcode if it was present. Now, Xcode is only allowed to be used if the port indicates that it needs it.

comment:4 Changed 5 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 1e911039a9c77133b1b53ab4eb2ab225c64bfb9c/macports-ports (master):

owncloud-client: use use_xcode yes

Closes: #59527

comment:5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

In ab63f294270d8a479e501b544807dcb4de132695/macports-ports (master):

nextcloud-client: use use_xcode yes

Closes: #59527

Note: See TracTickets for help on using tickets.