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

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

VotersStop watchingWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: cordova-common@2.2.3
    • Component/s: cordova-common
    • Labels:
      None
    • Environment:

      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

            People

            • Assignee:
              dpogue Darryl Pogue
              Reporter:
              skykelsey Sky Kelsey

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment