[MacPorts] #62940: sqlitebrowser @ 3.12.2: Could not resolve SDK Path for 'macosx10.11'

MacPorts noreply at macports.org
Mon Sep 20 08:05:00 UTC 2021


#62940: sqlitebrowser @ 3.12.2: Could not resolve SDK Path for 'macosx10.11'
----------------------------+---------------------------------
  Reporter:  thetrial       |      Owner:  i0ntempest
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.7.0
Resolution:                 |   Keywords:  elcapitan legacy-os
      Port:  sqlitebrowser  |
----------------------------+---------------------------------

Comment (by sambthompson):

 Replying to [comment:25 sambthompson]:
 > For what it's worth, I'm also seeing this problem with Xcode 8.2.1, but
 running the check gets the following:
 >
 > {{{
 > % xcodebuild -version
 > Xcode 8.2.1
 > Build version 8C1002
 > % xcrun --sdk macosx10.11 --show-sdk-path
 >
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
 >
 > }}}
 >
 > So not sure if there's any workaround? Log attached for comparison.

 Additional data point, not sure if I'm not now just masking the problem,
 but further investigation showed that while I had the 10.11 sdk installed
 inside the Xcode.app, and the `xcode-select` path was pointing to the app,
 I did not have the 10.11 sdk installed at
 `/Library/Developer/CommandLineTools/SDKs`. Copying this across from the
 app and then running `sudo port clean sqlitebrowser` then `sudo port
 upgrade sqlitebrowser` yielded a successful build and install. This also
 fixed a similar error I was having building `qscintilla-qt5`.

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


More information about the macports-tickets mailing list