Missing CFBundleIconName in Xcod

作者: RichMartin | 来源:发表于2017-11-10 13:58 被阅读142次

    问题:

    Xcode 9 打包上传失败
    Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key

    ERROR ITMS-90713: "Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'com.sinyee.xxxx.xxxx'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7."
    iOS 11 以后 appicons  必须放置在 asset catalog 
    
    ERROR ITMS-90022:
     "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0."
    
    ERROR ITMS-90023:
     "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format for iOS versions >= 7.0."
    
    ERROR ITMS-90023:
     "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 7.0."
    
    WARNING ITMS-90704: "Missing App Store Icon. iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via iTunes Connect, apps cannot be submitted for App Review or Beta App Review. Refer to https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ for more information."
    (警告)iOS 11 要求1024像素icon
    

    解决:

           1. iOS 11 以后 appicons  必须放置在 asset catalog 
           2.针对警告 需开始制作1024pt icon
    

    https://stackoverflow.com/questions/46216718/missing-cfbundleiconname-in-xcode9-ios11-app-release

    I figured it out that since Xcode 9 iOS 11 builds require iTunes Connect App Icon to be bundled with the binary itself which could have been added to iTunes Connect directly in the earlier versions of Xcode (XCode 8.3.3 ane earlier).

    If you distribute your app through the App Store, add the App Store icon to an asset catalog located in the Xcode project. The location of the icon is different depending on the platform.

    For iOS and watchOS apps built using Xcode 8.3.3 and earlier, you add the App Store icon in iTunes Connect. For macOS and tvOS apps, you add the App Store icon to the Xcode project but the location in the asset catalog is different than apps built with Xcode 9 and later.

    The required App Store icon should be placed in an asset catalog located in the app bundle.

    Adding App Store Icon

    So, the CFBundleIconName should be now set to AppIcon (default value) or any value you set.

    Adding only that image will not pass the iTunes Archive upload process so we need to add all the App Icons images of the following sizes:

    • 20pt 1x, 2x, 3x
    • 29pt 1x, 2x, 3x
    • 40pt 1x, 2x, 3x
    • 60pt 1x, 2x, 3x
    • 76pt 1x, 2x
    • 85.5pt 2x
    • 1024pt 1x

    So, now it is time to use asset catalog to specify app icons.

    相关文章

      网友评论

        本文标题:Missing CFBundleIconName in Xcod

        本文链接:https://www.haomeiwen.com/subject/ufebmxtx.html