In Xcode under Groups & Files panel, what is the difference between Targets, Executables and Products?
Asked
Active
Viewed 706 times
1 Answers
3
Target: Defines how to build products. A target organizes the files and instructions needed to build a product into a sequence of build actions that can be taken.
Product: The result of building a target. (MyAppName.app) The resulting bundle, in other words.
Executable: Defines the environment in which to run/debug the product. An executable environment defines the program that should be used to run the product with. In many cases, this will be the product itself, but doesn't have to be. In addition, the executable environment defines any command-line arguments and environment variables which should be used.

Evan Mulawski
- 54,662
- 15
- 117
- 144