aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/xcode/xcode.js
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2024-03-13 14:58:10 +0100
committerIvan Komissarov <ABBAPOH@gmail.com>2024-03-15 11:35:53 +0000
commit5c88b6b11b762cf5861c9d1570df4f1f050c826e (patch)
treedf0c4475cb64328a26fd667659a50aeecfd1ee59 /share/qbs/modules/xcode/xcode.js
parent4fe028ff8b2632e6d4bda356cc384f60cb319117 (diff)
Adapt to Xcode 15.3v2.3.0
Fixes: QBS-1786 Change-Id: I25cd8c4480179cb5ecb598bbe7dd6573b1fe0832 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules/xcode/xcode.js')
-rw-r--r--share/qbs/modules/xcode/xcode.js13
1 files changed, 10 insertions, 3 deletions
diff --git a/share/qbs/modules/xcode/xcode.js b/share/qbs/modules/xcode/xcode.js
index a931273f2..726974579 100644
--- a/share/qbs/modules/xcode/xcode.js
+++ b/share/qbs/modules/xcode/xcode.js
@@ -205,9 +205,16 @@ function boolFromSdkOrPlatform(varName, sdkProps, platformProps, defaultValue) {
function archsSpecsPath(version, targetOS, platformType, platformPath, devicePlatformPath,
developerPath) {
if (Utilities.versionCompare(version, "13.3") >= 0) {
- var pluginsDir = Utilities.versionCompare(version, "14.3") >= 0
- ? FileInfo.joinPaths(developerPath, "Library", "Xcode", "Plug-ins")
- : FileInfo.joinPaths(developerPath, "..", "PlugIns");
+ var pluginsDir;
+ if (Utilities.versionCompare(version, "15.3") >= 0) {
+ pluginsDir = FileInfo.joinPaths(developerPath, "..",
+ "SharedFrameworks", "XCBuild.framework", "PlugIns", "XCBBuildService.bundle",
+ "Contents", "PlugIns");
+ } else if (Utilities.versionCompare(version, "14.3") >= 0) {
+ pluginsDir = FileInfo.joinPaths(developerPath, "Library", "Xcode", "Plug-ins");
+ } else {
+ pluginsDir = FileInfo.joinPaths(developerPath, "..", "PlugIns");
+ }
var baseDir = FileInfo.joinPaths(pluginsDir,
"XCBSpecifications.ideplugin", "Contents", "Resources");