Skip to content

Commit

Permalink
fix: provide exact target for prepare build
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed May 16, 2020
1 parent 04c8547 commit 1e6bbf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/templates/scripts/cordova/lib/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function handleBuildSettings (platformConfig, locations, infoPlist) {
return Q.reject(new CordovaError(`Could not parse ${locations.pbxproj}: ${err}`));
}

const origPkg = project.xcode.getBuildProperty('PRODUCT_BUNDLE_IDENTIFIER');
const origPkg = project.xcode.getBuildProperty('PRODUCT_BUNDLE_IDENTIFIER', undefined, platformConfig.name());

// no build settings provided and we don't need to update build settings for launch storyboards,
// then we don't need to parse and update .pbxproj file
Expand Down

0 comments on commit 1e6bbf7

Please sign in to comment.