Skip to content

Commit

Permalink
fix: use PROVISIONING_PROFILE_SPECIFIER for manual codesigning (#1405)
Browse files Browse the repository at this point in the history
Co-authored-by: chriscant <chris@phdcc.com>
  • Loading branch information
erisu and chriscant committed Mar 6, 2024
1 parent b400b70 commit af6335e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ module.exports.run = function (buildOpts) {
}
if (buildOpts.provisioningProfile) {
if (typeof buildOpts.provisioningProfile === 'string') {
extraConfig += `PROVISIONING_PROFILE = ${buildOpts.provisioningProfile}\n`;
extraConfig += `PROVISIONING_PROFILE_SPECIFIER = ${buildOpts.provisioningProfile}\n`;
} else {
const keys = Object.keys(buildOpts.provisioningProfile);
extraConfig += `PROVISIONING_PROFILE = ${buildOpts.provisioningProfile[keys[0]]}\n`;
extraConfig += `PROVISIONING_PROFILE_SPECIFIER = ${buildOpts.provisioningProfile[keys[0]]}\n`;
}
}
if (buildOpts.developmentTeam) {
Expand Down

0 comments on commit af6335e

Please sign in to comment.