Targets allow using the same codebase to create multiple versions of a project. With targets, you can build different versions of you app, for example, iPhone/iPad, Free/Pro, and so on.
Targets greatly simplify maintenance and code updates across multiple apps.
Every project contains at least one target. When you create a new project, it already comes with one target by default.
Create a new target
In Project Settings (⌃⌥⇧S ), click on the toolbar or press ⌘N.
In the Create New Target dialog, select a template for your target and click Next.
Specify the product name and fill out other required fields. Then click Finish.
Add a file to a target
In the Project tool window, right-click the file and select .
In the Manage Targets dialog, choose the required targets from the list and click .
You can also add sources, resources, and frameworks to a target by dragging the files from the Project tool window to the corresponding area on the Build Phase tab.