ERROR ITMS-90502: "Invalid Bundle. Apps that only contain the arm64 slice must also have 'arm64' in the list of UIRequiredDeviceCapabilities in Info.plist."

I get this error each time when I try to upload my iOS 11 only App to iTunes Connect:


ERROR ITMS-90502: "Invalid Bundle. Apps that only contain the arm64 slice must also have 'arm64' in the list of UIRequiredDeviceCapabilities in Info.plist."

I have added

<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>

to every Info.plist of my targets already!


I also have set valid architectures in my build configuration to arm64 only.


I am using Xcode 9 beta 5.


Any idea how to fix that? Why does it not work even though I added UIRequiredDeviceCapabilities?

Answered by funkenstrahlen in 252209022

I figured out that I did not have UIRequiredDeviceCapabilities key in all of my targets. After adding it to all targets it worked.

ERROR ITMS-90502: "Invalid Bundle. Apps that only contain the arm64 slice must also have 'arm64' in the list of UIRequiredDeviceCapabilities in Info.plist."
 
 
Q