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.
Attachments
For Gerrit Dashboard: QBS-1644 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
346922,5 | Fix reading Xcode 12.5 specs | 1.19 | qbs/qbs | Status: MERGED | +2 | -1 |
347014,1 | Fix reading Xcode 12.5 specs | master | qbs/qbs | Status: ABANDONED | 0 | -1 |