0

I have created an iOS application, such that the Deployment Target is set to 10.3. I have a iPhone 5s which has iOS version of 10.3.1. I am able to run this developed application in my iPhone. Everything is working fine!!!

Then I thought to run the same application in my friend's iPhone. While running this application, Xcode was not able to run and gave me a warning that "Update your iPhone to 10.3 to run this application.". I opened the settings and found that the phone is currently running on iOS 10.1.

I changed the Deployment target to 10.1, and was able to run the application in my friend's iPhone. Right now I am confused, so I need help from you guys. Questions that are arising in my mind are:

  1. Is this wrong that the application was not running, when the target was set to 10.3?

  2. After deploying this application in App Store, will all the users having iOS versions less than 10.3 be able run this application?

Every help will be appreciated. Thank you folks!

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Akhil Nair
  • 434
  • 1
  • 6
  • 17
  • 1
    From https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html: *"The deployment target setting specifies the lowest operating system version that your app can run on."* – Martin R Apr 24 '17 at 11:26
  • @MartinR OHkaaayy!! so this is the reason. Thanks man, I have searched for this but was not getting a proper result. Thanks man!! Saved my day. :) – Akhil Nair Apr 24 '17 at 11:28
  • It was the first Google hit for "xcode deployment target" :) – Martin R Apr 24 '17 at 11:29
  • @MartinR Damn it!! I should have read the whole article. Somebody bang my head against the wall!!!! – Akhil Nair Apr 24 '17 at 11:32

0 Answers0