Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A10A418DCA for ; Thu, 26 Nov 2015 18:56:58 +0000 (UTC) Received: (qmail 69058 invoked by uid 500); 26 Nov 2015 18:56:58 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 69016 invoked by uid 500); 26 Nov 2015 18:56:58 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 69004 invoked by uid 99); 26 Nov 2015 18:56:57 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 18:56:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 481F9C0845 for ; Thu, 26 Nov 2015 18:56:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.979 X-Spam-Level: ** X-Spam-Status: No, score=2.979 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=wininup-com.20150623.gappssmtp.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id m_2ob1-RVyVW for ; Thu, 26 Nov 2015 18:56:55 +0000 (UTC) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 24E3D20231 for ; Thu, 26 Nov 2015 18:56:55 +0000 (UTC) Received: by wmuu63 with SMTP id u63so31567349wmu.0 for ; Thu, 26 Nov 2015 10:56:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wininup-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=NozElcfb93IYV1K7EYAU+1tgIzAT85BJ+P9WqOvCunc=; b=ATICAYX8KvtyNB61aHRdwbqj82m3afp+OjiuCB0lfR6Nx6Eex17HKK+NU1Dmh6F+a6 SahhZi2MQW5U91mLkKSKmVbJaA5wk0zifNXdJ3uagyTG9DqNB8ERUUIS5Kg3hqys+Zmu v06kNbsj2hObYamYR2tyhdefmdx2DoCw+Bgnelkj22JgqCnqcA8gJmcu83ER0vYMbq9s w7cca+5xwYsTGxdBzIjiqjxrkmzEIuQfarfItI8JNA9X3fock6cyd6ObbBiVV4Fp781E Ne+1sBW0mbKEB1F421LOY5p/Kor5YqfzaHERsAFc0a+4tuYPiKmUtNH+amPBz+OydRDR MeUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:content-type; bh=NozElcfb93IYV1K7EYAU+1tgIzAT85BJ+P9WqOvCunc=; b=TeKtn7BGNho9nP2OYLEXJe+JkSSfEVFLcaLi+ZN+06ZyPHwIN4V6AeDxDt8qUl2G8B QhJIVojvu9Tib8vdScxgb7pMRJ54C7+6Zg7vHQu50v0dJggyGm6KD9bSRuxdcNzst0sy BZPmqwJ+1OHdd4WixpqrfHusMHCnFXGO7SBeg0s8G6/8swz48gnu/eUaDOD/KpJN40TT r8KrJp2lWgiH+wT+HRhnM8EppjNtka3SQ9XiUZ/LDQco0DWCCxObPael/Q/EcpilDQvW 0CmGopKocypbfhqLi3KY4yV0DOyk4fdeLc8/iGYTeUfPSVMfZ9SsEAjoDeFHibPWM7h3 SKxw== X-Gm-Message-State: ALoCoQkRwH0/s11vQ2DRLP+YzaGGxr3yqqTfEoIeMhW/823T7nNWzSFfFnWCdSeq4Il9kD/DoQMa X-Received: by 10.194.104.5 with SMTP id ga5mr51463740wjb.155.1448564214844; Thu, 26 Nov 2015 10:56:54 -0800 (PST) MIME-Version: 1.0 Sender: max@wininup.com Received: by 10.27.171.71 with HTTP; Thu, 26 Nov 2015 10:56:35 -0800 (PST) X-Originating-IP: [83.167.33.212] From: Maxime Alexandre Date: Thu, 26 Nov 2015 19:56:35 +0100 X-Google-Sender-Auth: vnqOWdSuN6xgsnA5Var432caXGc Message-ID: Subject: "target" attribute ignored on iOS when installing a Cordova plugin To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=047d7bf10afe75eac105257623b7 --047d7bf10afe75eac105257623b7 Content-Type: text/plain; charset=UTF-8 Hello everyone, I want to copy a resource file into a specific folder, not just into the "Resources" folder (like "Resources/myfolder") but this is not working when i define a ** into my plugin.xml. I checked the source code and the target attribute is not used in the *cordova-lib/src/plugman/platforms/ios.js* file : destFile = path.resolve(project.resources_dir, path.basename(src)); whereas for *android.js* : var target = obj.target; ... Is there a reason this is not implemented? At least the documentation should say that the attribute "target" is ignored on iOS. When i drag&drag my folder into the Resources folder in my XCode project, this declares only the folder name (i.e. "myfolder") into the .pbxproj file... so is there another way for me to add this resource folder into my XCode project from plugin.xml or inside a hook or any other solution? Thank you! -- Maxime --047d7bf10afe75eac105257623b7--