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

[iOS] Missing icon.png

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.1
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Environment:

      cordova@6.0.0
      cordova-ios@4.0.1
      ios@9.2
      xcode@7.2

    • Flags:
      Important

      Description

      When trying to upload the ipa created with the latest release of cordova (6.0.0) and cordova-ios (4.0.1) the application loader complains about missing "icon.png". This is probably caused by the use of xcassets to generate the app icons whilst still mentioning

          <key>CFBundleIconFile</key>
          <string>icon.png</string>
      

      in the *-Info.plist.

      This file is never copied or generated when using the xcassets function (since all icons are named AppIcon*.png.

      A temporary workaround seems to be removing this key from the *Info.plist and rebuilding.

      STR:
      1) Create a blank cordova 6.0.0 project
      2) cordova add platform ios
      3) cordova build ios --device --release
      4) Upload the app

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                benconnito Ben Connito
                Reporter:
                markvb Mark van Beek
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: