[MacPorts] #54044: Could not resolve SDK Path for 'macosx10.11'

MacPorts noreply at macports.org
Thu May 18 02:35:40 UTC 2017

#54044: Could not resolve SDK Path for 'macosx10.11'
  Reporter:  mouse07410  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  qt5-qtbase  |

Comment (by mouse07410):

 The best solution IMHO would be to not lock on a specific SDK version, but
 query Xcode itself to find out what's available on a given machine. For
 example, you can use something like (or figure how to do that in shell
 script or whatever):

 sdkparam=`xcodebuild -showsdks | awk '/^$/{p=0};p; /macOS SDKs:/{p=1}' |
 tail -1 | cut -f3`
 sdkpath=`xcodebuild -version $sdkparam Path`

Ticket URL: <https://trac.macports.org/ticket/54044#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list