Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4745

cordova add ios creates xcodeproj in platforms instead of top level directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            shepheb Braden Shepherdson
            psenti Patrick Senti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: