aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/qbs/modules/bundle/bundle.js6
-rw-r--r--share/qbs/modules/xcode/xcode.js13
2 files changed, 16 insertions, 3 deletions
diff --git a/share/qbs/modules/bundle/bundle.js b/share/qbs/modules/bundle/bundle.js
index da9e2486a..cf765f7be 100644
--- a/share/qbs/modules/bundle/bundle.js
+++ b/share/qbs/modules/bundle/bundle.js
@@ -152,6 +152,12 @@ function _assign(target, source) {
function macOSSpecsPaths(version, developerPath) {
var result = [];
+ if (Utilities.versionCompare(version, "15.3") >= 0) {
+ result.push(FileInfo.joinPaths(
+ developerPath, "..", "SharedFrameworks", "XCBuild.framework", "PlugIns",
+ "XCBBuildService.bundle", "Contents", "PlugIns", "XCBSpecifications.ideplugin",
+ "Contents", "Resources"));
+ }
if (Utilities.versionCompare(version, "14.3") >= 0) {
result.push(FileInfo.joinPaths(
developerPath, "Library", "Xcode", "Plug-ins", "XCBSpecifications.ideplugin",
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");