Opened 12 years ago
Last modified 4 years ago
#35045 closed enhancement
Don't warn about missing XCode when only Command Line Tools For XCode are installed — at Version 5
Reported by: | schwern@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | base | Version: | 2.1.1 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
You can now download just the command line tools for XCode direct from Apple, a much smaller download and install. http://kennethreitz.com/xcode-gcc-and-homebrew.html
Unfortunately, MacPorts will continually warn:
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
My experience says things go fine with just the Command Line Tools install and the warning is misleading clutter. It would be nice if MacPorts noticed the Command Line Tools install and did not warn. Thanks.
Change History (5)
comment:1 Changed 12 years ago by neverpanic (Clemens Lang)
Component: | ports → base |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 Changed 12 years ago by schwern@…
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
I have 295 active ports and so far, I haven't encountered one that's failed because I don't have a full XCode install. Is it necessary to warn on every port because some need a full XCode install? If the purpose of the warning is to let the user know they need to install XCode to fix a problem, rather than report it as a bug, is it serving its purpose if the warning is more often wrong (and ignorable) than right?
Could there be a flag in the port files which do need a full xcode install and only those would trigger the warning? You mention there's already an xcodebuild group, maybe only the warning could trigger for those ports?
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Not all ports that need Xcode use the xcode portgroup.
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Type: | defect → enhancement |
---|
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
This is by design. Some ports (e.g. those using the
xcodebuild
port group) require a full Xcode installation and will fail without Xcode.