Search code examples
iphoneios5app-store-connect

faild to upload app which build by ios5 - relate to UIRequiredDeviceCapabilities issue


I face a problem, I use ios 5 build the distribute version app as before, while I upload the binary app to iTunes, it report error as follows:

"This bundle is invalid, The key UIRequiredDeviceCapabilities in the info.plist may not contains values that would prevent this application from running on…"

I also googing such type problem, I got answer that say I have to remove the old version app from iTunes (this will discard old app user and rating) and upload new app to iTunes … this way looks is bad solution, I want keep old app users… anyone can help for this purpose ? thanks a lots


Solution

  • I have seen this issue in a few projects that were created prior to Xcode 4.2, and then used Xcode 4.2 to submit the binary to the app store.

    You need to go into your info-plist and add the key "Required Device Capabilities". This key is an array, and you need two string items: "armv6" and "armv7".

    The plist source looks like this:

    <key>UIRequiredDeviceCapabilities</key>
     <array>
      <string>armv6</string>
      <string>armv7</string>
    </array>