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

Copying assets failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 5.4.1
    • None
    • cordova-lib
    • None

    Description

      On "cordova platform add ios@4.0.0" cordova tries to copy files from the wrong directory assets

      $ cordova platform add ios@latest --verbose
      $ ...
      $ Copying icon from /Users/username/mobile/config.xml/assets/ios/icons/icon-60.png to /Users/username/mobile/platforms/ios/Resources/icons/icon-60.png
      cp: no such file or directory: /Users/username/mobile/config.xml/assets/ios/icons/icon-60.png

      and copies files to wrong directory ios/Resources/icons/ should be copied to Images.xcassets/AppIcon.appiconset/

      $ cordova --version
      5.4.1
      $ cordova platforms
      Installed platforms: android 5.0.0, ios 4.0.0

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aanikin Aleksey Anikin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: