Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
7.1.0
-
None
-
Cordova 7.1.0 on macOS High Sierra, with Xcode 9.3.
Description
Expected: When adding ios platform (`cordova platform add ios`), the widget ID / bundle identifier should be copied to the Product Bundle Identifier value in the Build Settings.
Actual: Product Bundle Identifier is missing from project.pbxproj.
Steps to reproduce:
- Create new Cordova project.
- cordova platform add ios
- Open up the generated xcworkspace in Xcode 9.3
- Check the Target > Build Settings > Product Bundle Identifier and see that it's blank.
- In Target > General, set Bundle Identifier to any value (or change it)
- The Product Bundle Identifier gets set based on it
This caused me problems when using cordova-plugin-braintree, which sets a property in Info.plist using `${PRODUCT_BUNDLE_IDENTIFIER}`. In normal iOS development this would be the recommended way to parameterize a plist value based on the bundle ID.
May be tangentially related to CB-10186.