diff options
Diffstat (limited to 'share/qbs/modules/xcode/xcode.js')
-rw-r--r-- | share/qbs/modules/xcode/xcode.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/share/qbs/modules/xcode/xcode.js b/share/qbs/modules/xcode/xcode.js index 15afddb95..6bd37ad10 100644 --- a/share/qbs/modules/xcode/xcode.js +++ b/share/qbs/modules/xcode/xcode.js @@ -205,8 +205,12 @@ function boolFromSdkOrPlatform(varName, sdkProps, platformProps, defaultValue) { function archsSpecsPath(version, targetOS, platformType, platformPath, devicePlatformPath, developerPath) { if (Utilities.versionCompare(version, "13.3") >= 0) { - var baseDir = FileInfo.joinPaths(developerPath, "..", - "PlugIns/XCBSpecifications.ideplugin/Contents/Resources"); + var pluginsDir = Utilities.versionCompare(version, "14.3") >= 0 + ? FileInfo.joinPaths(developerPath, "Library", "Xcode", "Plug-ins") + : FileInfo.joinPaths(developerPath, "..", "PlugIns"); + var baseDir = FileInfo.joinPaths(pluginsDir, + "XCBSpecifications.ideplugin", "Contents", "Resources"); + var baseName = targetOS.includes("macos") ? "MacOSX Architectures" : targetOS.includes("ios-simulator") ? "iOS Simulator" : targetOS.includes("ios") ? "iOS Device" |