You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/12/30 19:47:52 UTC
[jira] [Resolved] (CB-5397) Add CLI's www/, merges/ and config.xml
to Xcode project file
[ https://issues.apache.org/jira/browse/CB-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-5397.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.4.0
Created a different template for CLI to use. Hopefully this will be less confusing.
> Add CLI's www/, merges/ and config.xml to Xcode project file
> ------------------------------------------------------------
>
> Key: CB-5397
> URL: https://issues.apache.org/jira/browse/CB-5397
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, iOS
> Affects Versions: 3.1.0
> Environment: MacOS 10.8.5
> XCode 5.01
> Reporter: Tom Ernhardt
> Assignee: Andrew Grieve
> Fix For: 3.4.0
>
>
> The cordova command line "cordova prepare ios" clobbers user-created source code files/directories without warning
> Steps to reproduce:
> # create a test app
> cordova create test com.test test
> cd test
> cordova platform add ios
> # add a plugin
> cordova plugin add https://github.com/apache/cordova-plugin-device.git
> cordova prepare ios
> Then open the generated Xcode project in Xcode
> Add some source code files
> # Now add a different plugin
> cordova plugin add https://github.com/apache/cordova-plugin-console.git
> # WARNING THIS WILL DELETE YOUR APP'S SOURCE CODE FILES
> cordova prepare ios
> All the source code files and directories that you created in
> /platforms/ios/www/
> have just been deleted by the cordova CLI without any warning!
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)