Skip to content

Commit

Permalink
fix: use PROVISIONING_PROFILE_SPECIFIER for manual codesigning (apach…
Browse files Browse the repository at this point in the history
…e#1405)

Co-authored-by: chriscant <[email protected]>
  • Loading branch information
2 people authored and ishiguro-m-wing committed Mar 29, 2024
1 parent 211ad1c commit ad08515
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 ad08515

Please sign in to comment.