Skip to content

Commit

Permalink
Change to use PROVISIONING_PROFILE_SPECIFIER for manual signing build…
Browse files Browse the repository at this point in the history
…-extras.xcconfig
  • Loading branch information
chriscant authored and erisu committed Mar 6, 2024
1 parent b400b70 commit 51abad8
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 51abad8

Please sign in to comment.