You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/10/19 20:32:12 UTC

[1/2] ios commit: CB-9500 Added no sign argument to iOS build

Repository: cordova-ios
Updated Branches:
  refs/heads/master 0ec040328 -> b57714357


CB-9500 Added no sign argument to iOS build

As of Cordova iOS 3.9.0, Xcode signing is automatically added to build
step when compiling for device.  An argument has been added to skip
this step of signing when building for an iOS device.  Simply supply
the —noSign argument when running the compile / build command.

Signed-off-by: Shazron Abdullah <sh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/69e4d847
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/69e4d847
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/69e4d847

Branch: refs/heads/master
Commit: 69e4d8472b542193b545495ee5e9bfd2ab6e923c
Parents: 0ec0403
Author: Jon Tancer <ta...@gmail.com>
Authored: Mon Aug 17 15:08:31 2015 -0400
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Oct 19 11:31:09 2015 -0700

----------------------------------------------------------------------
 bin/templates/scripts/cordova/lib/build.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/69e4d847/bin/templates/scripts/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/lib/build.js b/bin/templates/scripts/cordova/lib/build.js
index d5d50be..f9f8e49 100644
--- a/bin/templates/scripts/cordova/lib/build.js
+++ b/bin/templates/scripts/cordova/lib/build.js
@@ -41,7 +41,8 @@ module.exports.run = function (argv) {
         'codeSignIdentity': String,
         'codeSignResourceRules': String,
         'provisioningProfile': String,
-        'buildConfig' : String
+        'buildConfig' : String,
+        'noSign' : Boolean
     }, {'-r': '--release'}, argv);
 
     if (args.debug && args.release) {
@@ -96,7 +97,7 @@ module.exports.run = function (argv) {
         var xcodebuildArgs = getXcodeArgs(projectName, projectPath, configuration, args.device);
         return spawn('xcodebuild', xcodebuildArgs, projectPath);
     }).then(function () {
-        if (!args.device) {
+        if (!args.device || args.noSign) {
             return;
         }
         var buildOutputDir = path.join(projectPath, 'build', 'device');


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/2] ios commit: CB-9500 Documentation Added

Posted by sh...@apache.org.
CB-9500 Documentation Added

Added a console log describing the usage of the noSign argument.

This closes #152

Signed-off-by: Shazron Abdullah <sh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/b5771435
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/b5771435
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/b5771435

Branch: refs/heads/master
Commit: b577143573b6b39729d12358d97981e91451c4bd
Parents: 69e4d84
Author: Jon Tancer <ta...@gmail.com>
Authored: Mon Aug 17 15:21:15 2015 -0400
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Oct 19 11:31:46 2015 -0700

----------------------------------------------------------------------
 bin/templates/scripts/cordova/lib/build.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/b5771435/bin/templates/scripts/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/lib/build.js b/bin/templates/scripts/cordova/lib/build.js
index f9f8e49..420d0e9 100644
--- a/bin/templates/scripts/cordova/lib/build.js
+++ b/bin/templates/scripts/cordova/lib/build.js
@@ -199,6 +199,7 @@ module.exports.help = function help() {
     console.log('    --codeSignIdentity      : Type of signing identity used for code signing.');
     console.log('    --codeSignResourceRules : Path to ResourceRules.plist.');
     console.log('    --provisioningProfile   : UUID of the profile.');
+    console.log('    --device --noSign       : Builds project without application signing.');
     console.log('');
     console.log('examples:');
     console.log('    build ');


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org