From 2c7ac051db19457207b32e3745ffeea147533027 Mon Sep 17 00:00:00 2001 From: knaito Date: Wed, 30 Jan 2019 10:14:02 +0900 Subject: [PATCH 1/2] remove functions removing certificates in .app package --- bin/templates/scripts/cordova/lib/copy-www-build-step.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/templates/scripts/cordova/lib/copy-www-build-step.js b/bin/templates/scripts/cordova/lib/copy-www-build-step.js index e05aacf2a..93cf742ef 100644 --- a/bin/templates/scripts/cordova/lib/copy-www-build-step.js +++ b/bin/templates/scripts/cordova/lib/copy-www-build-step.js @@ -51,9 +51,9 @@ try { // Code signing files must be removed or else there are // resource signing errors. shell.rm('-rf', dstWwwDir); -shell.rm('-rf', path.join(dstDir, '_CodeSignature')); -shell.rm('-rf', path.join(dstDir, 'PkgInfo')); -shell.rm('-rf', path.join(dstDir, 'embedded.mobileprovision')); +// shell.rm('-rf', path.join(dstDir, '_CodeSignature')); +// shell.rm('-rf', path.join(dstDir, 'PkgInfo')); +// shell.rm('-rf', path.join(dstDir, 'embedded.mobileprovision')); // Copy www dir recursively var code; From 366676a14cad6e7bc236dfec810950de126d6653 Mon Sep 17 00:00:00 2001 From: knaito Date: Wed, 30 Jan 2019 11:23:48 +0900 Subject: [PATCH 2/2] remove comments in copy-www-build-step.js --- bin/templates/scripts/cordova/lib/copy-www-build-step.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bin/templates/scripts/cordova/lib/copy-www-build-step.js b/bin/templates/scripts/cordova/lib/copy-www-build-step.js index 93cf742ef..647a49e82 100644 --- a/bin/templates/scripts/cordova/lib/copy-www-build-step.js +++ b/bin/templates/scripts/cordova/lib/copy-www-build-step.js @@ -48,12 +48,7 @@ try { process.exit(2); } -// Code signing files must be removed or else there are -// resource signing errors. shell.rm('-rf', dstWwwDir); -// shell.rm('-rf', path.join(dstDir, '_CodeSignature')); -// shell.rm('-rf', path.join(dstDir, 'PkgInfo')); -// shell.rm('-rf', path.join(dstDir, 'embedded.mobileprovision')); // Copy www dir recursively var code;