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

BundleModule fails with Xcode 12.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.19.0
    • 1.18.1
    • General
    • None
    • macOS
    • 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

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

        Activity

          People

            kandeler Christian Kandeler
            triff triff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes