Opened 14 years ago
Last modified 14 years ago
#25217 closed defect
MacPorts gives error about xcode version but it's already current — at Version 1
Reported by: | tom15375@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.9.0 |
Keywords: | xcode version | Cc: | ryandesign@… |
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I got this error when installing a package but I already have Xcode 3.2.2 installed. How does MacPorts check xcode version and what can I do? Thanks in advance.
$ sudo port install tuxmath Password: Error: The installed version of Xcode (3.0) is too old to use on the installed OS version. Version 3.2.2 or later is recommended on Mac OS X 10.6. Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Change History (1)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Component: | ports → base |
Description: | modified (diff) |
Note: See
TracTickets for help on using
tickets.
Please remember to use WikiFormatting and to preview before submitting.
MacPorts determines your Xcode version by running "
xcodebuild -version
" and extracting the displayed Xcode version number. Xcode 3.0 and older did not display the Xcode version number here, so in this case MacPorts falls back to comparing the displayed internal version number of DevToolsCore with a list of known version numbers that correspond to public Xcode version releases. See the macports::setxcodeinfo procedure. What does "xcodebuild -version
" say on your system? What happens if you simply install Xcode 3.2.2 again (possibly using the Dev Tools uninstall script first)?