cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6304) cordova 3.4 creates Xcode project with general www directory, not iOS platform-specific one
Date Tue, 18 Mar 2014 20:25:42 GMT

    [ https://issues.apache.org/jira/browse/CB-6304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939724#comment-13939724
] 

Andrew Grieve commented on CB-6304:
-----------------------------------

The update template adds both www/ directories. The one under platforms/ is within a "staging"
group.

The hope here was to highlight the fact that you are *not* supposed to make edits within the
platforms/www directory when using the CLI. Changes made there are blown away every time you
do a "cordova build".

> cordova 3.4 creates Xcode project with general www directory, not iOS platform-specific
one
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-6304
>                 URL: https://issues.apache.org/jira/browse/CB-6304
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, iOS
>    Affects Versions: 3.4.0
>         Environment: ios7.1, mac osx 10.9.2, xcode 5.1 build 5B130a
>            Reporter: Farhad Farzaneh
>
> using cordova 3.4.0-0.1.3 to build project with 
> {{cordova create APP_DIR APP_SIGNATURE APP_NAME}}
> {{cordova platform add ios}}
> for various plugins:
> {{cordova plugin add org.apache.cordova.plugin_name}}
> Open the Xcode project.  The www folder that is added is the one in the top-level app_dir,
not the one in app_dir/platforms/ios/www, which was previously the one added.  So now you
have to remove this www from the project, add the correct one (which adds all the .js files
to compile list and creates copy build rules for all the images, etc.), so it takes some time
to clean it up manually (probably there is a faster way...), and then continue.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message