App Store验证问题-CFBundleIcons App Icon20x20 [英] App Store Validation Issue - CFBundleIcons App Icon20x20

查看:85
本文介绍了App Store验证问题-CFBundleIcons App Icon20x20的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为这个问题苦苦挣扎了一个多星期.每当我最近尝试验证构建或使用应用程序加载器时,都会出现此错误:

I have been struggling with this issue for over a week. Whenever I try to validate a build or use application loader lately I have been getting this error:

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

现在,问题在于我的plist中没有AppIcon20x20密钥.

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

这是我的AppIcon资产和属性设置: AppIcon

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

我的Plist中甚至没有提到20x20资产,如此处的源代码版本所示:

Nowhere is a 20x20 asset even mentioned in my Plist, as seen by 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>

最后,我已经搜索了这个主题的内容,他们都说只是将CFBundleIcons添加到您的plist中,我这样做了,但是仍然抛出错误.我在该项目的版本中也执行了此操作,该版本中有Pod,没有Pod,工作区和常规xcproj.文件,甚至只有1个视图控制器和一些图标[此最新版本].

And lastly, I have googled the heck out of this topic and they all say to just add CFBundleIcons to your plist, which I did, but it's still throwing the error. I have also done this in versions of this project where there are pods, no pods, workspaces, regular xcproj. files, and even with 1 view controller and just some icons [this latest build].

我还尝试在xcode版本8.1、8.2和8.3中实现此构建,所有这些都收到相同的错误.

I have also tried to achive this build in xcode versions 8.1, 8.2, and 8.3, all receiving the same error.

这里的任何帮助将不胜感激.这些是面向客户的应用程序,由于这个问题,我目前无法交付.谢谢.

Any help here would be greatly appreciated. These are apps for a client and I am currently late on delivering because of this issue. Thanks.

推荐答案

基本上,120px图标并不完全是120px,我最终重新创建了该图标,最终能够将应用程序提交给Apple Store.

Its basically, that the 120px icon is not exactly 120px, I ended up recreating the icon and finally was able to get the app submitted to Apple Store.

这篇关于App Store验证问题-CFBundleIcons App Icon20x20的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆