Search code examples
swiftxcodeapp-store-connect

Invalid Bundle. Your binary, {Bundle name}, has a 64-bit architecture slice


ERROR ITMS-90502: "Invalid Bundle. Your binary, '{Bundle id}', has a 64-bit architecture slice, so you must include the "arm64" value for the UIRequiredDeviceCapabilities key in your Xcode project. Learn more (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3)."

I keep getting this error every time I try to upload a version to the store, note that it includes the iMessage extension.

I try all the solutions:

  1. Change Build Active Architecture Only to yes
  2. Setting Required device capabilities for all targets.

Also in Xcode, it shows that it really supports arm64!

enter image description here

Xcode version 13.0


Solution

  • I have fixed this issue by adding

    UIRequiredDeviceCapabilities armv7 arm64

    to Info.plist to all targets