Ticket #35004 (closed defect: duplicate)
macports.tcl _is_valid_developer_dir is checking for Developer/Headers?
| Reported by: | llattanzi+McF@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 2.1.1 |
| Keywords: | Cc: | deadshort@… | |
| Port: |
Description
The checks for Library and usr make sense but why check for the non-existing Developer/Headers?
This triggers an mdfind for other Xcodes but my /Applications/Xcode.app is already adequate to build/install ports.
Change History
comment:2 Changed 10 months ago by deadshort@…
This becomes a noticeable problem with new Xcodes, especially if you have several of them (/Applications/Xcode4{3,4,5}-DPx.app, etc) for one reason or another. The simple case in macports::set_developer_dir falls through to a pretty confusing message, given that it cannot be fixed. That function might also select /Applications/Xcode.app, which might not be the right one.
Note: See
TracTickets for help on using
tickets.


Cc Me!