cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Senti (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-4745) cordova add ios creates xcodeproj in platforms instead of top level directory
Date Fri, 06 Sep 2013 11:15:52 GMT

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

Patrick Senti edited comment on CB-4745 at 9/6/13 11:15 AM:
------------------------------------------------------------

The problem is not the overwriting of the platforms/ios/www. The problem is that the xcodeproject
references the platforms/ios/www/index.html whereas it should reference the top-level www.
I also found this morning that the build phase copies the platforms/ios/www directory to build,
which is inconsistent with what the CLI does. I should add that this is from the point of
view of using XCode as the IDE, rather than another editor. 
                
      was (Author: psenti):
    The problem is not the overwriting of the platforms/ios/www. The problem is that the xcodeproject
references the platforms/ios/www/index.html whereas it should reference the top-level www.
I also found this morning that the build phase copies the platforms/ios/www directory to build,
which is inconsistent with what the CLI does.  
                  
> cordova add ios creates xcodeproj in platforms instead of top level directory
> -----------------------------------------------------------------------------
>
>                 Key: CB-4745
>                 URL: https://issues.apache.org/jira/browse/CB-4745
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Patrick Senti
>            Assignee: Braden Shepherdson
>              Labels: cordova-cli, ios, xcode
>
> What happens:
> cordova add ios creates the xcodeproj in platforms/ios. 
> cordova build ios will overwrite any changes made in platforms/ios
> What should happen:
> cordova add ios should create the xcodeproj in the top level folder
> Rationale:
> With the current setup it is dangerous to use the xcodeproj. Any changes made e.g. to
www/index.html will be overwritten by cordova build ios with whatever is in the top-level
www/index.html. 
> Workaround:
> In xcode, open the platforms/ios/...xcodeproj
> Remove the www folder (only the reference)
> Add the project/www as a reference

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message