Create a launch configuration


You must build your project first before you create a launch configuration.

To create a launch configuration:

  1. In the Project Explorer view, right-click a project and select Run As > Run Configurations....
  2. In the Run Configurations dialog, double-click ( or click the icon ) to create a new launch configuration.
  3. In the Name field, type a name for the launch configuration.
  4. In the Build configuration drop-down, select the build configuration for this launch configuration. You can view the build configuration options for your project by right-clicking on your project and selecting Build Configurations > Set Active. The build configuration type determines how the binary file is packaged, and what type of target it will run on (device or simulator).
  5. In the Target Options section, select your target.
  6. Click Run to run the application, or Apply to save the configuration.
Now that you've created the launch configuration, the configuration is listed in the Run Configurations dialog. By default, the application is associated with this launch configuration. You can run or debug the selected application by simply clicking the run or debug icon.