Skip to content

Commit

Permalink
Fix distribution code signing identity in cordova-ios 5.0.1 / cordova…
Browse files Browse the repository at this point in the history
… 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: apache/cordova-ios#536 (comment)
  • Loading branch information
kiwi-josh committed Sep 12, 2019
1 parent dbbdae2 commit d1f9a51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/scripts/ios/enableEntitlements.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d1f9a51

Please sign in to comment.