Opened 8 months ago

Closed 8 months ago

#68279 closed defect (worksforme)

Xcode not installed when it is

Reported by: JohnBircham (John Bircham) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description (last modified by reneeotten (Renee Otten))

Error: Port openjdk17 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 if you believe there is a bug.
Error: Processing of port openjdk17 failed

Xcode and Command line tools are installed

 ~ % xcode-select --install          
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates
}}#

Change History (5)

comment:1 Changed 8 months ago by JohnBircham (John Bircham)

Happening on MacOS 14

comment:2 Changed 8 months ago by JohnBircham (John Bircham)

Macports is not recognising that Xcode is installed when it actually is installed. I upgraded to MacOS 14 last night and reinstalled MacPorts this morning. Java 11 built okay, but Java 17 does not due to Xcode issue.

comment:3 Changed 8 months ago by reneeotten (Renee Otten)

Description: modified (diff)
Priority: HighNormal

comment:4 Changed 8 months ago by JohnBircham (John Bircham)

Did an uninstall and reinstall of Xcode. Appears to have fixed issue. Please close this ticket.

comment:5 Changed 8 months ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.