Invalid Image Path - No image found at the path. C

2019-01-11 15:49发布

I'm trying to update my app for iOS 7 with Xcode 5.0.

Everything works fine, but when I archive then validate I get these messages:

Invalid Image Path - No image found at the path referenced under key CFBundleIcons': 'APP-ICON-57'

I've tried to remove and add the images, have manually edited my info.plist, renamed images, add .png to the key, etc. Nothing seems to work. Please help, I'm about one day into getting through this silly issue.

标签: ios xcode5
13条回答
SAY GOODBYE
2楼-- · 2019-01-11 16:24

If it happens with 120x120 icon, just delete it from images.xcassets.

查看更多
成全新的幸福
3楼-- · 2019-01-11 16:24

I wanna share my solution, too because all these answers did not help me really.

I had the same problem just in my case it was Icon 29x29 and 40x40.

First of all funny thing. If you wanna able to READ the entire error message (yea Epic Fail Apple Xcode 8) in my case the first Error message was cut, I could not even read it fully, create your App with

Xcode -> Archive -> Export

and then create your file and then verify it

Xcode -> Application Loader -> import and upload to App Store

Only there you will see all error messages in full length.

anyhow let's assume you know which Icons are wrong

You have to go the folder Project Folder and then in my case it was

Unity-iPhone-> Images.xaccets->AppIcon.appiconset -> Contents.json

Open that file and simply delete all image objects that was shown in the error message

in my case

    {
        "filename" : "Icon-Small.png",
        "idiom" : "iphone",
        "scale" : "1x",
        "size" : "29x29"
    },
    {
        "filename" : "Icon-Small@2x.png",
        "idiom" : "iphone",
        "scale" : "2x",
        "size" : "29x29"
    },
    {
        "filename" : "Icon-Small@3x.png",
        "idiom" : "iphone",
        "scale" : "3x",
        "size" : "29x29"
    },
    {
        "filename" : "Icon-Small-80.png",
        "idiom" : "iphone",
        "scale" : "2x",
        "size" : "40x40"
    },
    {
        "filename" : "Icon-Small-120.png",
        "idiom" : "iphone",
        "scale" : "3x",
        "size" : "40x40"
    }

NOW IMPROTANT You have to Shut XCode 8 because if you try to save the file it WILL NOT WORK. Even if you click Save anyways (what a epic fail Apple) it will not do. So you think you saved but you did not . . . it took me hours to figure this out because I thought that XCode was rebuilding the json file automatically.

so that was my fix :)

Hope it helps for anyone

查看更多
霸刀☆藐视天下
4楼-- · 2019-01-11 16:25

I had the same problem, and I solve it by uncheck the carPlay from Images.xcassets.

Go to Images.xcassets then choose appIcon, then uncheck carPlay

查看更多
倾城 Initia
5楼-- · 2019-01-11 16:27

In my Cordova 6 / iOS 4 project in xCode 9 I needed to go to ProjectName.plist under the resources folder. There was a key named Icon which had the offending Icon.png value beside it. Deleted the key and now all working.

查看更多
Rolldiameter
6楼-- · 2019-01-11 16:28

iOS 8/xCode 6 answer, if you get an error AppIcon 120x120 not found, uncheck the car play icon in xcode's AppIcon set. Assuming you're not using car play of course

查看更多
欢心
7楼-- · 2019-01-11 16:29

I have met this problem in Xcode 7.

enter image description here

When I check the Apple official documentation for the app icon:

https://developer.apple.com/library/ios/qa/qa1686/_index.html

I checked very icon and the exactly size,I have set all we can set the icon,I have solved this problem at last.

查看更多
登录 后发表回答