Debug Xamarin Android and iOS at same time
Hi all,
in my Xamarin Forms project in Jetbrains Rider (for Mac), I could start iOS Debug and Android Debug at same time, which is great! Is there a possiblity to create a configuration which does it automatically? Currently I switch to configuration "Android Default", start Debugger, switch to "iOS Default" und start Debugger again. Is it possible to do it with just 1 click? I've searched in the templates, but did not find any option to create such a configuration.
Many thanks!
Please sign in to leave a comment.
Hello, Kai.
Thanks for your request.
To started iOS and Android debugs at the same time, you should create a new compound configuration.
For that, you should following the next steps:
1. Open “Edit Configurations” from the drop-down list.
2. Press the button “Add New Configuration” and find the “Compound” value from the table.

3. You'll see all your projects from the solution on the opened windows. Press the button “Apply”.

4. And finally, please open the drop-down list and select a new compound configuration, then you can start debugging.
Let me know if it helps.
Kind regards,
Maxim Isaev.
Great! Thanks a lot, Maxim!
Hi Maxim,
today I tried your proposal, and unfortunately it does not work :-( This is the error message I always receive:
Error running 'iOS Default'
Cannot create build request while another build is running, reason: System.InvalidOperationException: Cannot create build request while another build is running
at JetBrains.ProjectModel.Features.SolutionBuilders.SolutionBuilder.CreateBuildRequest(IBuildSessionTarget target, IProject[] projectsToBuild, SolutionBuilderRequestSilentMode silentMode, SolutionBuilderRequestAdvancedSettings solutionBuilderRequestAdvancedSettings)
at JetBrains.ReSharper.Host.Features.DeploymentHost.DeploymentProviders.Xamarin.XamarinIOSDeploymentProvider.Deploy(DeploymentArgsBase args, DeploymentSession deploymentSession, Lifetime lifetime)
at JetBrains.ReSharper.Host.Features.DeploymentHost.DeploymentBackendHost.DeployTarget(Lifetime lifetime, DeploymentArgsBase deployArgs)
at JetBrains.Rd.Tasks.RdCall`2.OnWireReceived(UnsafeReader reader)
Restarting Macbook and / or Rider did not fix the problem. Android is built fine, but iOS always results in this error. I tried to change the run order in compound settings but it seems to be alphabetical. Any ideas?
Many thanks!
Unfortunately, it seems like you have encountered a known issue. We would appreciate it if you would upvote it to bring increased awareness to the issue.
For now, please run projects one by one, like before. I'm sorry for the inconvenience.
Kind regards,
Maxim Isaev.