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 02125200D3D for ; Mon, 13 Nov 2017 16:36:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 00763160BE4; Mon, 13 Nov 2017 15:36:06 +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 3D318160C06 for ; Mon, 13 Nov 2017 16:36:05 +0100 (CET) Received: (qmail 13204 invoked by uid 500); 13 Nov 2017 15:36:04 -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 13117 invoked by uid 99); 13 Nov 2017 15:36:04 -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:36:04 +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 7074FC7EE8 for ; Mon, 13 Nov 2017 15:36:03 +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-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id XpEu0TMHF3WY for ; Mon, 13 Nov 2017 15:36:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8557861103 for ; Mon, 13 Nov 2017 15:36: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 9B810E259F for ; Mon, 13 Nov 2017 15:36: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 D994C240FE for ; Mon, 13 Nov 2017 15:36:00 +0000 (UTC) Date: Mon, 13 Nov 2017 15:36:00 +0000 (UTC) From: "jcesarmobile (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:36:06 -0000 [ https://issues.apache.org/jira/browse/CB-12070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16249729#comment-16249729 ] jcesarmobile commented on CB-12070: ----------------------------------- [~tombell] Can you create a new issue for this providing all the information you have? Also, try removing the variable tags that you might have on the config.xml. And removing and adding the platforms might also be good > 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