Eric Jiang created CB-14021:
-------------------------------

             Summary: Product Bundle Identifier is not set in pbxproj
                 Key: CB-14021
                 URL: https://issues.apache.org/jira/browse/CB-14021
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
    Affects Versions: 7.1.0
         Environment: Cordova 7.1.0 on macOS High Sierra, with Xcode 9.3.
            Reporter: Eric Jiang
            Assignee: Suraj Pindoria


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to