Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11691

Plugin <config-file> can't modify binary plists

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • cordova-common@2.2.3
    • cordova-common
    • None
    • Mac OS X version: 10.11.6
      Node version: v0.12.7
      Cordova version: 6.3.0

    Description

      https://github.com/apache/cordova-lib/blob/master/cordova-common/src/util/plist-helpers.js#L27

      Cordova expects plists to be in XML format, and not binary. However, it fails to apply changes silently, masking the problem. Can you please log failures to modify config files, and ideally also add support for binary plists? All plists are generated as binary in xcode projects by default, so anyone who develops a plugin and needs to modify a plist is going to hit this issue.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dpogue Darryl Pogue
            skykelsey Sky Kelsey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment