How to set the minimum OS version for an ios project?

I want to run my app on a real device in developer mode. I cannot pick it from the devices dropdown, there's "OS version lower than deployment target" there. How do I change the deployment target in xcode?

  1. Open the project editor by selecting the project file from the left side of the project window.
  2. Select the app target from the target list on the left side of the project editor.
  3. Click the General button at the top of the project editor.
  4. Go to the Minimum Deployments section to set the deployment target.

How to set the minimum OS version for an ios project?
 
 
Q