What do the following actions in Xcode do?
- Build for Testing
- Build for Running
- Build for Profiling
- Build for Archiving
Running is for running your app (on the Mac for Mac OS X, in the simulator or on the device for iOS).
Profiling is for running your app with Instruments (for finding memory leaks, bottlenecks etc.).
Testing is for running unit tests.
Archiving is building a distributable package of you app (incl. Ad-hoc iPhone distributions and upload to the App Store).