Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I release an update to the app store with "Build Active Architecture Only" set to "Yes"?

Tags:

ios

iphone

build

I accidentally submitted a build to the app store with "Build active architecture only" (ONLY_ACTIVE_ARCH) set to "Yes". The phone I was archiving it for was a 3GS. Does this mean that phones with other architectures, like the iPhone 5 with ARMv7S, won't be able to run the app?

like image 409
meisel Avatar asked Apr 18 '13 06:04

meisel


People also ask

Where should I set build active architecture only?

The "build active architecture only" setting causes everything except the current Mac's architecture to be ignored (and the current one is of course valid), hiding the problem. Instead, you should look up a row or two in the settings, and change the "Architectures" setting to "Standard".

How do you add excluded architectures?

You can manually add the Excluded Architecture in your Pod project's Build Settings, but it will be overwritten when you use pod install . In place of this, you can add this snippet in your Podfile . It will write the necessary Build Settings every time you run pod install .


2 Answers

If choose "Build active architecture only" YES, it will speed up your building time, by build only current architecture. But when you build for release, please set it to NO

like image 184
huync Avatar answered Oct 16 '22 21:10

huync


This link may help you...

http://useyourloaf.com/blog/2010/04/21/xcode-build-active-architecture-only.html

However, I have built some apps previously and submitted them to the App Store with the option set. This was due to me having an older iPod device that I used for 'Archiving' the app and the subsequent submission, whereas the build target included ARM7. Without the option set I couldn't build it for the older iPod and thus couldn't archive and publish.

So, I would say from this that you will be fine, without going through the pain of resubmitting and subjecting yourself to a restarted counter waiting for review.

Mark

like image 33
Mark Avatar answered Oct 16 '22 22:10

Mark