summaryrefslogtreecommitdiff
path: root/share/qbs/modules/xcode
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-07-19 17:57:48 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2020-07-20 16:02:24 +0000
commitcb958a58d9d5335588cf393c2d1bfe3ad9fe6276 (patch)
tree7c671b2aa9f4391e5200f871678076f46a36d6d5 /share/qbs/modules/xcode
parent1ba4cceafa1c33207c88d6e897b841680b1f4754 (diff)
downloadqbs-cb958a58d9d5335588cf393c2d1bfe3ad9fe6276.tar.gz
xcode: Fix Xcode 12.0 support
The *.xcspec files for macOS were moved into the *.ideplugin directory similar to how it is done for iOS/tvOS/etc. Fixes: QBS-1582 Change-Id: I478742c4b52b08f7feee4108272da7bf2b12a744 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules/xcode')
-rw-r--r--share/qbs/modules/xcode/xcode.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/qbs/modules/xcode/xcode.js b/share/qbs/modules/xcode/xcode.js
index 48cf3d772..9c87e09dc 100644
--- a/share/qbs/modules/xcode/xcode.js
+++ b/share/qbs/modules/xcode/xcode.js
@@ -183,6 +183,10 @@ function provisioningProfilePlistContents(filePath) {
function archsSpecsPath(version, targetOS, platformType, platformPath, devicePlatformPath) {
var _specsPluginBaseName;
+ if (Utilities.versionCompare(version, "12") >= 0) {
+ if (targetOS.contains("macos"))
+ _specsPluginBaseName = "OSX";
+ }
if (Utilities.versionCompare(version, "7") >= 0) {
if (targetOS.contains("ios"))
_specsPluginBaseName = "iOSPlatform";