3

With our app, we don't want to support 3,5" iPhone screens. We also require iOS 8.0, so that leaves the iPhone 4S as the only 3,5" screen that is supported.

We want to exclude the iPhone 4S by removing the armv7 architecture from the valid architectures list when building the App Store binary. But it does not seem to be allowed to do this.

The bundle is invalid. Apps that include an arm64 architecture are required to include an armv7 architecture

Am I doing something wrong, or is this really not allowed?

8
  • iPhone 5 is also armv7
    – pNre
    May 4, 2015 at 14:28
  • 1
    Thank you for your response! But I'm sorry, you're wrong. iPhone 5 is armv7s. May 4, 2015 at 14:31
  • Technically yes, but Xcode 6 dropped the armv7s support, the iPhone 5 fits in the armv7 category.
    – pNre
    May 4, 2015 at 14:34
  • You have to support 3.5" screens. If your app is an iPhone-only app, the 3.5" screen will be used when the app is run on an iPad in addition to actual 3.5" iPhone devices.
    – rmaddy
    May 4, 2015 at 14:36
  • But we won't include it in the iPad App Store. Just like "What's app" which is not possible to download for iPad. May 4, 2015 at 14:37

2 Answers 2

5

You can try some options:

-If you have a device plugged in, that device's architecture is the ACTIVE ARCHITECTURE, so you need to unplug the device.

-Set "Build Active Architecture Only" to NO for targets and project.

2
  • Thanks for your answer! This is already the case unfortunately. Also, this would only be a solution if I DID add "armv7" to the list and still would get this error. Instead I deliberately disabled it. May 5, 2015 at 6:14
  • "If you have a device plugged in" (╯°□°)╯︵ ┻━┻, like whole hour gone in the dumbest thing ever.
    – Can
    Jun 29, 2015 at 19:02
1

It's probably too late now, but maybe helps some one else.. For me, this error was when I left iPhone 5S connected, when building ad hoc release for AppStore (or testflight) . If I remove (and leave as iOS Device) - then - no errors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.