I migrated my existing project to Xcode12. I had to remove VALID_ARCHS
from Build Settings.
And added arm64
for Excluded Architecture
(Any iOS simulator SDK
). Then I am able to run app on iOS14 simulator.
But now while creating archive it is showing.
Any iOS Device(armv7, arm64)
Please refer this screenshot.
In previous Xcode it was showing Generic iOS Device
Does this mean app will not support all iOS Phones?
It is the architecture for all Intel Macs shipped between 2005 and 2021. arm64 is the architecture used by newer Macs built on Apple Silicon, shipped in late 2020 and beyond.
You can use armv7 libraries on an arm64 device, but then all libraries must be armv7. You can't mix and match.
You need to plug the iPhone into the Mac that's running Xcode. Then you must download the app to your Mac. When you select a real device in Xcode for testing, you need to add your Apple ID in the Accounts preferences of your project editor.
The iOS simulator's architecture is x86_64 (the latest Xcode doesn't support an i386-based simulator that the answer refers to), whereas a real iOS device (such as an iPhone or iPad) can be arm64 or arm64e. So when building an app for the simulator you need to specify x86_64, not an ARM architecture.
To my knowledge, this has been updated in the latest Xcode. The previous one (11.XX) was with Generic IOS device
, however this version has it written as Any IOS device
. So it is indexed capable of running on all devices with the correct IOS installed. See here my screenshot
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With