Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EFA318646 for ; Sun, 25 Oct 2015 10:55:28 +0000 (UTC) Received: (qmail 21392 invoked by uid 500); 25 Oct 2015 10:55:28 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 21371 invoked by uid 500); 25 Oct 2015 10:55:28 -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 21235 invoked by uid 99); 25 Oct 2015 10:55:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Oct 2015 10:55:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ADDBB2C1F56 for ; Sun, 25 Oct 2015 10:55:27 +0000 (UTC) Date: Sun, 25 Oct 2015 10:55:27 +0000 (UTC) From: "Nikhil Khandelwal (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-8104) Cannot add Resources with the same name but different folders in plugin.xml? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-8104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikhil Khandelwal updated CB-8104: ---------------------------------- Component/s: (was: CordovaJS) CordovaLib > Cannot add Resources with the same name but different folders in plugin.xml? > ---------------------------------------------------------------------------- > > Key: CB-8104 > URL: https://issues.apache.org/jira/browse/CB-8104 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib > Affects Versions: 3.5.0 > Environment: Conrdova 4.0 iOS 7.1.1 > Reporter: Michael M > Priority: Blocker > > I have a iOS objective-c component which should be included in a PhoneGap/Cordova plugin. > Here is a part of what I have in my plugin.xml file: > > ... > > > > > > > > > > > When I try to add the plugin to my app I get the following error: > Failed to install 'org.test.cordova.TestPlugin':Error: Uh oh! > target destination "/Users/mg/Documents/iOS/hello/platforms/ios/HelloWorld/Resources/TGCameraAuthorizationViewController.strings" already exists > at module.exports.resource-file.install (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/ios.js:128:48) > at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/action-stack.js:72:25) > at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:591:20) > at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:340:28 > at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:509:49 > at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) > at process._tickCallback (node.js:419:13) > Error: Uh oh! > target destination "/Users/mg/Documents/iOS/hello/platforms/ios/HelloWorld/Resources/TGCameraAuthorizationViewController.strings" already exists > at module.exports.resource-file.install (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/ios.js:128:48) > at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/action-stack.js:72:25) > at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:591:20) > at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:340:28 > at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:509:49 > at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) > at process._tickCallback (node.js:419:13) > I tried to use: > > This way I can include an entire folder but when I want to make #import "SomeClass.h" it cannot find the file. > How can I add Resources with the same name but different folders in plugin.xml? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org