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

BundleModule fails with Xcode 12.5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.18.1
    • Fix Version/s: 1.19.0
    • Component/s: General
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      86eb6974126b4fdf4cfa3340b7a80833479f2d37 (qbs/qbs/1.19)

      Description

      Problem:
      Can't build project with qbs 1.18.1 and Xcode 12.5 which uses BundleModule

      Steps to reproduce:

      • Update xcode to 12.5
      • Try to build project with Bundle dependency
      • ...
      • Profit

      Output:

      
      /usr/local/Cellar/qbs/1.18.0_1/share/qbs/modules/bundle/BundleModule.qbs:221:15 Bundle product type com.apple.product-type.framework.static is not supported. You may need to upgrade Xcode.
      
      /usr/local/Cellar/qbs/1.18.0_1/share/qbs/modules/bundle/BundleModule.qbs:221:15 Bundle product type com.apple.product-type.application is not supported. You may need to upgrade Xcode.
      
       
      
      /usr/local/Cellar/qbs/1.18.0_1/share/qbs/modules/bundle/BundleModule.qbs:221:15 Bundle product type com.apple.product-type.framework is not supported. You may need to upgrade Xcode.
      
      

      Cause

      Looks like file: "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/PrivatePlugIns/IDEOSXSupportCore.ideplugin/Contents/Resources/MacOSX Product Types.xcspec" does not containt appropriate types anymore.
       

      Workaround

      Failed to find where they were moved, but i set  property bool _useXcodeBuildSpecs in BundleModule.qbs to false and it fixes build for me.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            triff triff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes