Can't submit the app with storyboard launch images to the App Store: Your binary is not optimized for iPhone 5

后端 未结 8 1351
别那么骄傲
别那么骄傲 2020-12-14 16:24

I am trying to submit my first app to the App Store but when I try I am getting the following error:

ERROR ITMS-9000: \"Your binary is not optimized f

相关标签:
8条回答
  • 2020-12-14 16:49

    If you refer to https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html it says that iPhone 6(plus) require launch XIB or storyboard file.

    And if you have a look here https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW2 it refers the image sizes and never explicitly says that iPhone 5 can handle a launch file (I know it also does not say that it doesn't). At least iPhone 4s looks like it does not, so I guess that iPhone 5 doesn't either and you have to add a static file.

    0 讨论(0)
  • 2020-12-14 16:51

    This issue happens because you don't add launch image whose size is 640x1136 (iphone 5) correctly.

    After editing Contents.json below, I can upload to iTunesConnect normally

    {
      "images" : [
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "filename" : "splash-480h.png",
      "extent" : "full-screen",
      "scale" : "1x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "filename" : "splash-480h@2x.png",
      "extent" : "full-screen",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "filename" : "splash-568h@2x.png",
      "extent" : "full-screen",
      "subtype" : "retina4",
      "scale" : "2x"
    },
    {
      "extent" : "full-screen",
      "idiom" : "iphone",
      "subtype" : "736h",
      "filename" : "splash-736h@3x.png",
      "minimum-system-version" : "8.0",
      "orientation" : "portrait",
      "scale" : "3x"
    },
    {
      "extent" : "full-screen",
      "idiom" : "iphone",
      "subtype" : "736h",
      "filename" : "splash-landscape-736h@3x.png",
      "minimum-system-version" : "8.0",
      "orientation" : "landscape",
      "scale" : "3x"
    },
    {
      "extent" : "full-screen",
      "idiom" : "iphone",
      "subtype" : "667h",
      "filename" : "splash-667h@2x.png",
      "minimum-system-version" : "8.0",
      "orientation" : "portrait",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "extent" : "full-screen",
      "filename" : "splash-480h@2x.png",
      "minimum-system-version" : "7.0",
      "scale" : "2x"
    },
    {
      "extent" : "full-screen",
      "idiom" : "iphone",
      "subtype" : "retina4",
      "filename" : "splash-568h@2x.png",
      "minimum-system-version" : "7.0",
      "orientation" : "portrait",
      "scale" : "2x"
    }
       ],
      "info" : {
    "version" : 1,
    "author" : "xcode"
      }
    }
    
    0 讨论(0)
提交回复
热议问题