Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 92C3A200D3D for ; Mon, 13 Nov 2017 16:33:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9107B160BF3; Mon, 13 Nov 2017 15:33:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D69C3160BE4 for ; Mon, 13 Nov 2017 16:33:07 +0100 (CET) Received: (qmail 1685 invoked by uid 500); 13 Nov 2017 15:33:07 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 1674 invoked by uid 99); 13 Nov 2017 15:33:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Nov 2017 15:33:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 27285C7ED8 for ; Mon, 13 Nov 2017 15:33:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id fcEmbHGRLoCQ for ; Mon, 13 Nov 2017 15:33:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id ABA9560F7A for ; Mon, 13 Nov 2017 15:33:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3DC46E25A4 for ; Mon, 13 Nov 2017 15:33:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6CC972411E for ; Mon, 13 Nov 2017 15:33:00 +0000 (UTC) Date: Mon, 13 Nov 2017 15:33:00 +0000 (UTC) From: "Tom Bell (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12070) edit-config doesn't work with plist files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Nov 2017 15:33:08 -0000 [ https://issues.apache.org/jira/browse/CB-12070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16249722#comment-16249722 ] Tom Bell commented on CB-12070: ------------------------------- [~jcesarmobile] I'm currently using 7.1.0, it worked prior to updating the contacts plugin, as I added the `` before I updated the plugin (I went from 2.3.1 to 3.0.0 of the cordova-plugin-contacts). > edit-config doesn't work with plist files > ----------------------------------------- > > Key: CB-12070 > URL: https://issues.apache.org/jira/browse/CB-12070 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib > Reporter: Darryl Pogue > Fix For: cordova-lib@6.4.1 > > > Trying to use the {{edit-config}} tag in config.xml to add to the iOS Info.plist file: > {code} > > foo > > {code} > It's giving me an error in xml_helpers.js: > {code}Error: TypeError: doc.find is not a function > at Object.resolveParent (/Users/dpogue/Coding/cordova-app/node_modules/cordova-common/src/util/xml-helpers.js:210:26) > at /Users/dpogue/Coding/cordova-app/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:464:53 > at Array.forEach (native) > at is_conflicting (/Users/dpogue/Coding/cordova-app/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:456:17) > at PlatformMunger.add_config_changes (/Users/dpogue/Coding/cordova-app/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:204:33) > at /Users/dpogue/Coding/cordova-app/node_modules/cordova-lib/src/cordova/prepare.js:127:24 > at _fulfilled (/Users/dpogue/Coding/cordova-app/platforms/ios/cordova/node_modules/q/q.js:834:54) > at self.promiseDispatch.done (/Users/dpogue/Coding/cordova-app/platforms/ios/cordova/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch (/Users/dpogue/Coding/cordova-app/platforms/ios/cordova/node_modules/q/q.js:796:13) > at /Users/dpogue/Coding/cordova-app/platforms/ios/cordova/node_modules/q/q.js:604:44{code} > This seems to happen because plist files are turned into JS objects when they are parsed, rather than XML documents like AndroidManifest.xml or config.xml. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org