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?
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".
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 .
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
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
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