From d1f9a51fd82b3b14f678d6da120b05305b30a966 Mon Sep 17 00:00:00 2001 From: Josh Hollinshead Date: Thu, 12 Sep 2019 10:26:18 +1000 Subject: [PATCH] Fix distribution code signing identity in cordova-ios 5.0.1 / cordova 9.0.0 by removing the explicit declaration of the code sign identity in the enableEntitlements script Without this change distribution builds are configured to attempt a build with a debug/developer signing cert: https://github.com/apache/cordova-ios/issues/536#issuecomment-530135917 --- src/scripts/ios/enableEntitlements.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scripts/ios/enableEntitlements.js b/src/scripts/ios/enableEntitlements.js index db48f9f7..b509fe8a 100644 --- a/src/scripts/ios/enableEntitlements.js +++ b/src/scripts/ios/enableEntitlements.js @@ -5,7 +5,6 @@ const compare = require("node-version-compare"); const IOS_DEPLOYMENT_TARGET = "8.0"; const COMMENT_KEY = /_comment$/; - const CODESIGNIDENTITY = "iPhone Developer"; // entry module.exports = { @@ -41,7 +40,6 @@ for (config in configurations) { buildSettings = configurations[config].buildSettings; - buildSettings.CODE_SIGN_IDENTITY = `"${CODESIGNIDENTITY}"`; buildSettings.CODE_SIGN_ENTITLEMENTS = `"${entitlementsFile}"`; // if deployment target is less then the required one - increase it