diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-03-18 16:29:36 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-03-19 11:45:32 +0000 |
commit | 133351e2fa135eadf6b3daf7dbefc49f293a5210 (patch) | |
tree | 747cf5ef9f027e55426df334d17d7281292cc178 | |
parent | b3c98b71f8e8553429eba4e4fa6d6d9ae128c51d (diff) |
Darwin: Fix access to undefined module
Amends cf5562823e.
Change-Id: I5844815342f9e2eae131c1d2cd94ad8119d0dcfe
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | share/qbs/modules/bundle/BundleModule.qbs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qbs/modules/bundle/BundleModule.qbs b/share/qbs/modules/bundle/BundleModule.qbs index 0b3ceb4a6..f285c6e61 100644 --- a/share/qbs/modules/bundle/BundleModule.qbs +++ b/share/qbs/modules/bundle/BundleModule.qbs @@ -613,7 +613,8 @@ Module { for (var i = 0; i < artifacts.length; ++i) artifacts[i].bundle = { wrapperPath: wrapperPath }; - if (product.qbs.hostOS.contains("darwin") && product.xcode.signingIdentity) { + if (product.qbs.hostOS.contains("darwin") && product.xcode + && product.xcode.signingIdentity) { artifacts.push({ filePath: FileInfo.joinPaths(product.bundle.contentsFolderPath, "_CodeSignature/CodeResources"), fileTags: ["bundle.code-signature", "bundle.content"] |