diff --git a/lib/build.js b/lib/build.js index f4c9005ab..53dafa6a6 100644 --- a/lib/build.js +++ b/lib/build.js @@ -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) {