Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot remove arm64 architecture Xcode

Tags:

xcode

ios

arm64

enter image description here

My target build settings are shown above. If I open the drop-down menu, it contains only one item called "Standard architectures ..." ,but as you can see, it contains arm64 , so i think it's not standard anymore. I think I can delete arm64 from Valid Architecture, but is it safely?

like image 371
Igor Prusyazhnyuk Avatar asked Mar 18 '14 13:03

Igor Prusyazhnyuk


1 Answers

Xcode 5.1 forces arm64 as standard architecture. However, the Xcode release notes also mentions,

Projects not able to support 64-bit need to specifically set the architectures build setting to not include 64-bit.

Apple does not explicitly say it is mandatory to have arm64 support. I have not found any official doc saying Apple has made it mandatory to support arm64 arch, not even the app review guideline. However, it is Apple you never can predict.

Anyways, to change the architecture settings goto,

  • Targets-->Build Settings-->Architectures-->Architectures
  • Select "Other"
  • Replace $(ARCH_STANDARD) with $(ARCHS_STANDARD_32_BIT)
  • Now archive

Once before submitting the ipa to appstore do a Validation through Xcode.

Hope that helps!

like image 106
Amar Avatar answered Sep 28 '22 07:09

Amar