2

I released an iOS 8 version of my app today and wanted to limit it only to users running iOS 8 (because it uses some new Core Motion APIs that only work with iOS 8). It seems like iOS7 users are still able to download my app, even though the deployment target is iOS8 and the App Store says "Compatibility: Requires iOS 7.0 or later". Can I force app to run in iOS8 only? Does the Deployment Target option in Xcode still control which version of the OS is required on the App Store?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Jackson
  • 3,555
  • 3
  • 34
  • 50
  • 1
    According to this (http://stackoverflow.com/q/3559936/558933 - old but possibly relevant) you need to change the deployment target on both the project settings and the current target. Does the linked post help? – Robotic Cat Sep 19 '14 at 01:01
  • @RoboticCat beat me to it lol. But yes, setting the deployment target in both as Robotic Cat said should require iOS 8 to download. I've seen multiple apps in the App Store that require it. – rebello95 Sep 19 '14 at 01:02
  • Actually, you only need to set the Deployment Target on the target. The project Deployment Target just needs to be less than or equal to the desire target Deployment Target. – rmaddy Sep 19 '14 at 01:09
  • Ack - I set the Deployment Target for the project but not the Target itself. The Target was still iOS7. Dang now everyone using iOS7 seems to be having problems with my app crashing while I would have rather prevented them from downloading it. – Jackson Sep 19 '14 at 01:49

2 Answers2

2

The answer is, you have to set the Deployment Target in three different places, in the project, in the app target, and (in my case) in the extension. If you don't set it in all three locations the app won't show as iOS 8 only.

Jackson
  • 3,555
  • 3
  • 34
  • 50
2

Deployment target on all your TARGETS is the correct option. It's important to understand the different between "Deployment target" and "Base SDK". Both regard a iOS SDK version, but they have different meanings. To learn what read here.

Community
  • 1
  • 1
loretoparisi
  • 15,724
  • 11
  • 102
  • 146