Invalid iPhone Application Binary

后端 未结 30 1686
天命终不由人
天命终不由人 2020-11-29 18:25

I\'m trying to upload an application to the iPhone App Store, but I get this error message from iTunes Connect:

The binary you uploaded was invalid. T

相关标签:
30条回答
  • 2020-11-29 19:03

    I had the same problem aswell, when building I noticed the provisioning wasn't added in the build.

    The fix for me was to set the build to the iphone device as where I normally use the simulator, but then it won't include the provisioning profile...

    This might be a noob mistake. Normally you can't build to device, but when you do it for distribution you can.

    0 讨论(0)
  • 2020-11-29 19:03

    I had a similar issue but in Monotouch. I found that my Release profile was set to use developer certs. It should look like this: enter image description here

    0 讨论(0)
  • 2020-11-29 19:04

    See this link for the solution:

    http://greghaygood.com/2010/09/04/invalid-binary-message-from-itunesconnect

    The short answer is that "Eventually I double-checked my info.plist and discovered something. I added CFBundleIconFiles per the new guidelines, but there was an empty entry in the array list. I removed that and re-submitted, and it was finally accepted!"

    0 讨论(0)
  • 2020-11-29 19:04

    I was having a similar problem, but I don't use entitlements.plist. However, after a dozen failed uploads, I checked my info.plist and discovered something. My CFBundleIconFiles array had an empty entry. I removed that and re-submitted, and it was finally accepted!

    Seriously, how hard would it be for Apple to expose those kind of validation errors?

    Edit: It's not immediately apparant where the CFBundleIconFiles are because they use a different name. In the project info view, Ctl click and select "Show Raw Keys/Values" and then you will see the references to CFBundleWhatever. In this editor's case, he was trying to use a non-existent icon=72-@2x.png file.

    0 讨论(0)
  • 2020-11-29 19:04

    My solution involved creating a new App ID. I'm not sure exactly why that fixed it, but I suspect it may have been mismatched Bundle Identifiers — creating the new App ID forced me to make sure my app and iTunes were expecting the same thing.

    0 讨论(0)
  • 2020-11-29 19:05

    I just wanted to mention that I too had the problem with zip from the command line as well. The problem lies in the way it handles symlinks by default. Using:

    zip -y -r myapp.zip myapp.app

    Solved that problem.

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