Invalid image path. No image found on the path specified in the "CFBundleIcons" key: "AppIcon20x20"

REFUSE TO RECEIVE ANSWERS TO THIS.

I have been struggling with this problem for over a week. Whenever I try to do a build check or use of the app loader, lately I get this error:

iTunes Store operation failed. 
Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons':'AppIcon20x20'

      

Now the problem is that there is no AppIcon20x20 key in my plist.

Here's my AppIcon asset and attribute settings: AppIcon , Attributes

There is no 20x20 asset anywhere, not even mentioned in my Plist, as seen from the source code version here:

    <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleIcons</key>
    <dict>
        <key>CFBundlePrimaryIcon</key>
        <dict>
            <key>CFBundleIconFiles</key>
            <array>
                <string>icon603x.png</string>
                <string>icon602x.png</string>
                <string>icon403x.png</string>
                <string>icon402x.png</string>
                <string>icon293x.png</string>
                <string>icon292x.png</string>
                <string>icon203x.png</string>
                <string>icon203x.png</string>
            </array>
        </dict>
    </dict>
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
        <key>NSExceptionDomains</key>
        <dict>
            <key>https://millsfitnessapparel.myshopify.com/</key>
            <string></string>
        </dict>
    </dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleExecutable</key>
    <string>$(EXECUTABLE_NAME)</string>
    <key>CFBundleIdentifier</key>
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>$(PRODUCT_NAME)</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0</string>
    <key>CFBundleVersion</key>
    <string>1</string>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>UILaunchStoryboardName</key>
    <string>LaunchScreen</string>
    <key>UIMainStoryboardFile</key>
    <string>Main</string>
    <key>UIRequiredDeviceCapabilities</key>
    <array>
        <string>armv7</string>
    </array>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
</dict>
</plist>

      

And finally I chose gockled from this thread and everyone says to just add CFBundleIcons to your plist, which I did, but it still throws an error. I also did this in the versions of this project where there are pods, no containers, workspaces, normal xcproj. files and even with 1 view controller and a few icons [this latest build].

I also tried this build on xcode 8.1, 8.2 and 8.3, all getting the same error.

Any help here would be greatly appreciated. These are customer applications and I am currently late for delivery due to this issue. Thank you.

+3


source to share


1 answer


you can simply create your app icon resource using https://makeappicon.com/ . For the best result, you need to provide a 1536x1536px image. It will automatically create all app icons for your project.

Also refer to the following: -



  • Check that the name of the icon file is the same as the name in your info.plist. This is fine when starting debug mode, although it doesn't work when you load / inspect the assembly.

  • Check if your app bundle ID is correct.

+4


source







All Articles