Invalid Image Path - No image found at the path. CFBundleIcons Xcode 5

前端 未结 14 2074
清歌不尽
清歌不尽 2020-12-03 09:25

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

相关标签:
14条回答
  • 2020-12-03 10:07

    I had this problem, and I for the appIcon60x60 file. I found that my appicon60@2x was a 60x60 file when it should have been a 120x120 file.

    The carplay icon had a similar problem. While Xcode says it's a 1x file, it's actually a 2x file. So when i created and appicon120@2x file where the image was 240x240, it corrected the problem. This is a defect in Xcode as it should have indicated a 2x file instead of 1x.

    In summary, if you are getting this error, check that the actual image sizes match up with the corresponding icon.

    0 讨论(0)
  • 2020-12-03 10:08

    Make sure that this image is a members of target you are building:

    enter image description here

    Also be aware that names are case sensitive.

    1. Click on the affected image in the Project Navigator
    2. In the utilities window, click the "Show the File Inspector" icon.
    3. Ensure the "Target Membership" app name has "v" next to it.
    4. Rebuild and archive.
    0 讨论(0)
  • 2020-12-03 10:13

    This worked for me

    If you generate Icons using Prep App or https://makeappicon.com/

    You might get this Error

    If you are not developing App for Car Play or Apple Watch Or Mac it's better to remove its corresponding icons and uncheck them

    To remove and uncheck them from Xcode :

    => Click on the Property Tab on Right-Hand side

    => Goto the Third Sub Tab

    => Uncheck Car Play [ ] All
    => Apple Watch -> None
    => Uncheck Mac [ ] All

    0 讨论(0)
  • 2020-12-03 10:14

    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

    0 讨论(0)
  • 2020-12-03 10:18

    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

    0 讨论(0)
  • 2020-12-03 10:20

    I have met this problem in Xcode 7.

    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.

    0 讨论(0)
提交回复
热议问题