What can cause “invalid binary” with no email followup from iTunes Connect?

后端 未结 30 2085
南笙
南笙 2020-12-12 19:05

I\'m trying to submit an update of an existing application on behalf of one of my clients, and I\'m getting \"Invalid Binary\" failures from iTunes Connect with no explanati

相关标签:
30条回答
  • 2020-12-12 19:26

    after 16 hours of non stop research trial and error, and headbanging I have found a solution in apple developer's forum.

    Apparently there is a bug allowing your binary to pass verification and upload, but then to get rejected by iTunes Connect system. And you don't get any email explaining you what happened!

    If your App is for both iPhone and iPad, you probably have something like this in the Info.plist file:

    screenshot before

    You should completely remove the CFBundleIconFiles~ipad parameter and include the iPad icon in the Icons files array instead like here:

    screenshot after fix

    That's all folks!

    Let me know if that helped you!

    0 讨论(0)
  • 2020-12-12 19:26

    I have the same problem. I tried the entitlements thing first, as it seemed like it fit my situation.

    Boy are they different: OLD entitlement plist:

    <plist version="1.0">
    <dict>
        <key>get-task-allow</key>
        <false/>
    </dict>
    

    New one... (xcode 3.2.5, 4.2 target and min iOS)

    <plist version="1.0">
    <dict>
        <!--- Required entitlements (in most cases shouldn't be changed) --->
        <key>application-identifier</key>
        <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
        <key>keychain-access-groups</key>
        <array>
            <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
        </array>
    
    <!--- Custom entitlements below --->
    
    
    </dict>
    </plist>
    
    0 讨论(0)
  • 2020-12-12 19:27

    I had the same INVALID BINARY error from iTunes Connect even if Application Loader accepted my binary. The solution was very simple...

    Open your info.plist, right-click and check Show Raw Key/Values:

    • CFBundleIconFile = Icon.png (my iPhone 57x57 PNG icon)
    • CFBundleIconFile~ipad = Icon-72.png (my ipad 72x72 PNG icon)
    • CFBundleIconFiles = array
      • Item 0 = Icon.png
      • Item 1 = Icon@2x.png (my iPhone 4 114x114 PNG icon)
      • Item 2 = Icon-72.png

    Save, clean all targets, build and analyze, compress in Finder and resubmit!

    The error was caused because I typed the key "Icon Files". In Raw view, this has mapped to "Icon Files" instead of CFBundleIconFiles. I have Xcode 3.2.3, I guess Xcode 3.2.4 better maps this key identifier.

    Good Luck everybody!

    Source: Technical Q&A QA1686: App Icons on iPad and iPhone

    0 讨论(0)
  • 2020-12-12 19:27

    I encountered same "invalid binary" issue for several times today. Finally I solved it by checking build messages in XCode 4. click show all messages for build log, find code sign and validate part, normally on the bottom. All of my failed submission has validation error in build log, but passed in archive - validate button.

    0 讨论(0)
  • 2020-12-12 19:28

    Just had the same problem here, and it seems the solution was to add the missing Retina 4 inches startup screen to my project (I removed it on purpose - previous updates were OK with that, but it seems they don't like it any more), as recommended in the logs when archiving the application.

    0 讨论(0)
  • 2020-12-12 19:28

    I got this error when I recently added Flurry Ad in my application.

    If your case is about advertisements, you must accept in itunesconnect before uploading. http://techcrunch.com/2014/04/11/apple-developers-must-now-agree-to-ad-identifier-rules-or-risk-app-store-rejection/

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