aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/cpp/ios-gcc.qbs
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@theqtcompany.com>2015-10-26 03:01:25 -0700
committerJake Petroules <jake.petroules@theqtcompany.com>2015-10-29 16:52:09 +0000
commit94665f1dc37ca599426463860e5a52f0f0b537e8 (patch)
treed00efa170b94f85f03588ef4ea7ee64fbab136e6 /share/qbs/modules/cpp/ios-gcc.qbs
parent48aebfdaab1269069e2de1b74fbcdb0bcb78d5de (diff)
Remove code signing from IPA rule.
This is for re-signing an already signed IPA, which should not realistically be necessary in the context of Qbs. Change-Id: Ia67183457714102498d43fb7a86c04d0f9dd237a Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'share/qbs/modules/cpp/ios-gcc.qbs')
-rw-r--r--share/qbs/modules/cpp/ios-gcc.qbs23
1 files changed, 3 insertions, 20 deletions
diff --git a/share/qbs/modules/cpp/ios-gcc.qbs b/share/qbs/modules/cpp/ios-gcc.qbs
index 8d56e15e5..f8ce423b4 100644
--- a/share/qbs/modules/cpp/ios-gcc.qbs
+++ b/share/qbs/modules/cpp/ios-gcc.qbs
@@ -86,6 +86,7 @@ DarwinGCC {
}
Rule {
+ condition: !product.moduleProperty("qbs", "targetOS").contains("ios-simulator")
inputsFromDependencies: ["bundle"]
Artifact {
@@ -94,26 +95,8 @@ DarwinGCC {
}
prepare: {
- var signingIdentity = product.moduleProperty("xcode", "actualSigningIdentity");
- var signingIdentityDisplay = product.moduleProperty("xcode",
- "actualSigningIdentityDisplayName");
- if (!signingIdentity)
- throw "The name of a valid signing identity must be set using " +
- "xcode.signingIdentity in order to build an IPA package.";
-
- var provisioningProfilePath = product.moduleProperty("xcode",
- "provisioningProfilePath");
- if (!provisioningProfilePath)
- throw "The path to a provisioning profile must be set using " +
- "xcode.provisioningProfilePath in order to build an IPA package.";
-
- var args = [input.filePath,
- "-o", output.filePath,
- "--sign", signingIdentity,
- "--embed", provisioningProfilePath];
-
- var cmd = new Command("PackageApplication", args);
- cmd.description = "creating ipa, signing with " + signingIdentityDisplay;
+ var cmd = new Command("PackageApplication", [input.filePath, "-o", output.filePath]);
+ cmd.description = "creating ipa";
cmd.highlight = "codegen";
return cmd;
}