Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1543

Qbs currently doesn't work with Xcode 11.4 and the SDK for macOS 10.15.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 1.16.0
    • 1.15.0
    • Toolchains: Xcode
    • None
    • macOS
    • 0ec4baf922ce4547ec7f61dba6f9369874834d18 (qbs/qbs/1.16)

      After updating to Xcode 11.4 and a new SDK I get this warning followed by build errors:

      WARNING: Skipping corrupted SDK installation: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
      
      ...
      
      ERROR: ...
      /usr/local/Cellar/qbs/1.15.0/share/qbs/modules/xcode/xcode.qbs:174:15 There is no matching SDK available for macosx.

      A little investigation showed that qbs expects the SDK version which it reads from the SDKSettings.plist to have exactly two components but it has three for 10.15.4.

      Only fixing the version check is not enough though as there seem to be more places that rely on this specific version format.

        For Gerrit Dashboard: QBS-1543
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            lbuckel Leon Buckel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes