Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build on Xcode 12 showing 'Any iOS Device(armv7, arm64)'

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.

enter image description here

In previous Xcode it was showing Generic iOS Device

Does this mean app will not support all iOS Phones?

like image 486
Akshay Avatar asked Sep 23 '20 08:09

Akshay


People also ask

What is any iOS device arm64?

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.

Does armv7 work on arm64?

You can use armv7 libraries on an arm64 device, but then all libraries must be armv7. You can't mix and match.

How do I connect my real iOS device to Xcode?

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.

Is iOS simulator arm64?

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.


1 Answers

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

Any_IOS_device

like image 119
Fabian H. Avatar answered Oct 23 '22 07:10

Fabian H.