1

When I push the build to app store using XCode 6.4 and deployment target as iOS 7.0, I am getting invalid minimum os version error. I want to support 7.0 OS as well. Please let me know what needs to be done.

The error is

"ERROR itms-90098: The binary is invalid. The key UIRequiredDeviceCapabilities contains value 'armv7s' which is incompatible with the MinimumOSVersion value of '7.0'"

Coder
  • 1,661
  • 4
  • 27
  • 50
  • Do you get any errors when you try running your code in iOS 7 simulator? – rmp Aug 28 '15 at 21:03
  • Do you write code in Swift or ObjectiveC? If you're using Swift make sure you're not using any dynamic frameworks, as those are not supported on iOS7. Does this help you? – Andrej Aug 28 '15 at 21:08
  • I am getting this error while submitting to app store. – Coder Aug 28 '15 at 22:58

2 Answers2

1

Found the answer.

My iPhone 6 was selected while archiving the app. After unplugging the device and archiving, it worked.

Coder
  • 1,661
  • 4
  • 27
  • 50
  • Your scheme must have Build Active Architecture Only enabled. You should not enable that for a scheme that is used to build for release. – newacct Aug 29 '15 at 01:31
-1

Go to your build settings and add arm64, armv7 and armv7s to VALID_ARCHS

Pablo A.
  • 2,042
  • 1
  • 17
  • 27