Details
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.