Note:
You must build your project first before you create a launch configuration.
To create a launch configuration:
-
In the Project Explorer view, right-click a project and select .
-
In the Run Configurations dialog, double-click ( or click the
icon ) to create a new launch configuration.
-
In the Name field, type a name for the launch
configuration.
-
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 . The build configuration type determines how the binary file is
packaged, and what type of target it will run on (device or simulator).
-
In the Target Options section, select your target.
-
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.