JetBrains Rider 2024.3 Help

Run and debug Xamarin.iOS projects

You can run and debug MAUI and Xamarin projects the same way as you run other application types — by configuring the application startup properties in a run configuration and then launching this configuration with the debugger attached Shift+F9 or without debugging Shift+F10.

By default, JetBrains Rider creates a necessary run configuration when you create or first open a MAUI or Xamarin project. You can customize this configuration or add more configurations of the same type for different launch scenarios.

Create a run configuration for iOS

  1. Open the Run/Debug Configuration dialog in one of the following ways:

    • Select Run | Edit Configurations from the main menu.

    • With the Navigation bar visible (View | Appearance | Navigation Bar), choose Edit Configurations from the run/debug configuration selector.

    • Press Alt+Shift+F10 and then press 0.

  2. In the Run/Debug Configuration dialog, click Add New Configuration Add New Configuration Alt+Insert, choose the iOS configuration type, and specify a name that will help you identify this configuration in the future.

  3. Optionally, adjust the common settings of the configuration and configure before launch tasks.

  4. Choose a startup project of iOS type.

  5. Optionally, specify custom environment variables for the target executable in the following format:

    envVar1=value1;envVar2=value2
  6. Click Apply to save the configuration.

Last modified: 22 March 2024