[
https://issues.apache.org/jira/browse/CB-5696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296983#comment-14296983
]
ASF subversion and git services commented on CB-5696:
-----------------------------------------------------
Commit 6fd8e23fda5658d5c8d43ecfb6016edb6f713265 in cordova-lib's branch
refs/heads/master from Dimitar Kerezov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=6fd8e23 ]
CB-5696 find ios project directory using the xcode project file (close #151)
Add unit tests for future reassurance
Fix incorrect name "ChildApp" in .pbxproj files to "SampleApp"
> 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: [email protected]
For additional commands, e-mail: [email protected]