© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
MA

❔ Run MaUI .NET 6 Mac Catalyst from Rider

Hello,

I created a MaUI app on Visual Studio for mac and would like to switch to Rider (RD-232.10203.29).
My goal is to execute the app using the Mac Catalyst target, however, I can't make it running on Rider.

It's working like a charm on Visual Studio (see configuration attached) when the debug configuration is used, but get the following error on the default Rider's Mac Catalyst configuration (see attachment) :
0>Xamarin.Shared.targets(870,3): Error  : /usr/bin/xcrun exited with code 1
        
0>Xamarin.Shared.targets(870,3): Error  : actool exited with code 1
        
0>Assets.xcassets: Error  actool: The operation couldn’t be completed. Failed to locate any simulator runtime matching options: {
    BuildVersionString = 21A326;
    Platforms =     (
        "com.apple.platform.iphonesimulator"
    );
    VersionString = "17.0";
}
0>Xamarin.Shared.targets(870,3): Error  : /usr/bin/xcrun exited with code 1
        
0>Xamarin.Shared.targets(870,3): Error  : actool exited with code 1
        
0>Assets.xcassets: Error  actool: The operation couldn’t be completed. Failed to locate any simulator runtime matching options: {
    BuildVersionString = 21A326;
    Platforms =     (
        "com.apple.platform.iphonesimulator"
    );
    VersionString = "17.0";
}

Yes, it looks like its trying to run on an iOS emulator. But why ?

Did a few things to try and fix the issue :
- Removing
net6.0-ios;
net6.0-ios;
from the .csproj TargetFrameworks property. It worked, but not a big fan of that solution. I might need to run it on iOS

- Modifying the ".NET Launch Settings Profile" configuration (again, see configuration attached) but in vain, as it forces user to select a launch profile (see attachments in the next message). Here is my project's
launchSettings.json
launchSettings.json
:
{
  "profiles": {
    "Windows Machine": {
      "commandName": "Executable",
      "nativeDebugging": false
    }
  }
}
{
  "profiles": {
    "Windows Machine": {
      "commandName": "Executable",
      "nativeDebugging": false
    }
  }
}

I guess having a "Windows Machine" profile there does not apply in my case ?

- Running the project thanks to the following command :
dotnet run --framework net6.0-maccatalyst
dotnet run --framework net6.0-maccatalyst
. It's working, but not handy at all while developing.

- Trying to see what's under the Visual Studio configuration's hood, but could not find anything.

Does anybody experienced the same issue or could be of any help ?

Thanks a lot in advance ! ❤️
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

✅ MAUI with Rider
C#CC# / help
2y ago
How to run my old .NET 5 Blazor app from Rider
C#CC# / help
2w ago
.NET MAUI ImageSource from saved ByteArray
C#CC# / help
3y ago