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

[iOS][CLI] some copied icons ignored when creating asset catalog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 3.7.0
    • None
    • cordova-cli
    • None

    Description

      In 3.7.0 you fixed the CLI so it copies all the icons and launch images into the project, which works fine now.

      But since xCode6 there is a asset catalog we should use to manage the icons and images. Once clicked on it, it migrates the images into a new AppIcon and LaunchImages catalog.

      But looking at both, i see plenty of icons and launch images missing, even if they really exist within [appname]/Resources/

      {Icons,Splash}

      Only by dragging the icons from finder into the AppIcon catalog it adds the icons properly.

      I think the problem is the Contents.json file within the xcassets folder created by xCode6, it contains only few icons.

      I also tried adding the missing icons manually in that json file and voila, all the icons are showing up on the asset catalog.

      Don't know where xCode gets the info to put into Contents.json, but i guess its something you probably could fix on the CLI.

      For now, in order to NOT get rejected or get some validation fails on xCode i need to fix the icons and launch images on my own, to be sure all icons are really in the app and loaded.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eesen Eser Esen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: