Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.15.0
-
None
-
-
0ec4baf922ce4547ec7f61dba6f9369874834d18 (qbs/qbs/1.16)
Description
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.