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 122AB17FFA for ; Thu, 29 Jan 2015 15:11:35 +0000 (UTC) Received: (qmail 26101 invoked by uid 500); 29 Jan 2015 15:11:35 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 26081 invoked by uid 500); 29 Jan 2015 15:11:35 -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 26070 invoked by uid 99); 29 Jan 2015 15:11:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 15:11:35 +0000 Date: Thu, 29 Jan 2015 15:11:35 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5696) Missing Plugin source file on iOS 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-5696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296984#comment-14296984 ] ASF GitHub Bot commented on CB-5696: ------------------------------------ Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/151 > Missing Plugin source file on iOS > --------------------------------- > > Key: CB-5696 > URL: https://issues.apache.org/jira/browse/CB-5696 > Project: Apache Cordova > Issue Type: Bug > Components: Plugman > Affects Versions: 3.3.0 > Environment: Mac OSX 10.9, plugman 0.17.0, cordova 3.3.0-0.1.1, xcode 5 > Reporter: xu.li > Labels: build, patch > > Bug > ======== > 1. cordova create cordova-issue com.example.cordova.issue cordova-issue > 2. cd cordova-issue/ && cordova platform add ios && cordova build && cordova plugin add org.apache.cordova.device > 3. Open the project in xcode5, and you will find CDVDevice.h and CDVDevice.m are missing. > Reason > ======== > It is caused by [cordova-plugman.git] / src / platforms / ios.js. > In the parseProjectFile function, it searches for "config.xml" using "glob.sync", and then filter the file path list, and then use the first file in the remaining list. > When the name of the project, 3rd parameter in the "cordova create" command, starts with a lowercased letter after "b", it will not be list as the first item among all the candidates, and the "**/build/**"-like file paths are not filtered out. > Quick Fix > ======== > Filter all the file candidates contain "/build/". -- 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