[MacPorts] #58016: Unecessary Warning about Xcode and xcodebuild when installing port
MacPorts
noreply at macports.org
Sun Feb 3 22:14:01 UTC 2019
#58016: Unecessary Warning about Xcode and xcodebuild when installing port
--------------------------+--------------------
Reporter: gagarine | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.5.4
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by gagarine):
I know those are details, but it can help a lot to avoid confusion.
Especially "port install" is going to be the first command that a new user
try. Having a warning their is certainly not the best experience.
To avoid "Warning: xcodebuild exists but failed to execute" we can know if
dev tool are installed using
{{{
xcode-select -p
}}}
or
{{{
xcode-select -version
}}}
Then for the "Warning: Xcode does not appear to be installed; most ports
will likely fail to build." perhaps somethings like "Xcode does not appear
to be installed; some ports may fail to build. To hide this message in the
future type 'port xcode-warning-hide'".
--
Ticket URL: <https://trac.macports.org/ticket/58016#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list