error HE0004: Could not load the framework 'IDEDistribution'

Cannot successfully compile and run iOS apps using Rider 2024.3 and .NET 8.x and 9.x when developing MAUI apps.  XCode 16.1 is installed, MacOS 15.1.1 (Intel), MacBook Pro 16" – XCode iOS emulators are installed.  When I run, I get the following error.  I've tried numerous things including building a MAUI App and a MAUI Multi-project App.  

When I select MacOS, it runs.  When I select Android, it runs in the emulator, when I select an iOS device, I get the error message below.

Is this a bug?  Is there a setting I must make?  Is this a Rider thing or a .NET 8.x and 9.x thing?  Is this an XCode thing?

Been all over google and ChatGPT – no solution.

error HE0004: Could not load the framework 'IDEDistribution' (path: /Applications/Xcode.app/Contents/SharedFrameworks/IDEDistribution.framework/Versions/A/IDEDistribution): 
dlopen(/Applications/Xcode.app/Contents/SharedFrameworks/IDEDistribution.framework/Versions/A/IDEDistribution, 0x0001): Library not loaded: @rpath/AppThinning.framework/Versions/A/AppThinning
 Referenced from: <18DE4B5B-BE44-3BC0-BD09-CD540F77FD55> /Applications/Xcode.app/Contents/SharedFrameworks/IDEDistribution.framework/Versions/A/IDEDistribution
 Reason: tried: '/Library/Frameworks/Xamarin.iOS.framework/Versions/16.4.0.23/lib/mlaunch/mlaunch.app/Contents/Frameworks/AppThinning.framework/Versions/A/AppThinning' (no such file), '/Applications/Xcode.app/Contents/SharedFrameworks/IDEDistribution.framework/Versions/A/Frameworks/AppThinning.framework/Versions/A/AppThinning' (no such file), '/Library/Frameworks/Xamarin.iOS.framework/Versions/16.4.0.23/lib/mlaunch/mlaunch.app/Contents/Frameworks/AppThinning.framework/Versions/A/AppThinning' (no such file), '/Applications/Xcode.app/Contents/SharedFrameworks/IDEDistribution.framework/Versions/A/Frameworks/AppThinning.framework/Versions/A/AppThinning' (no such file), '/Library/Frameworks/Xamarin.iOS.framework/Versions/16.4.0.23/lib/mlaunch/mlaunch.app/Contents/MonoBundle/AppThinning.framework/Versions/A/AppThinning' (no such file)
       
8
36 comments

I had xcode 15.4 and Rider 20242.4 and no issues. Updated to xcode 16.3 and Rider 2025.1.1 and started receiving the same error as the reporter.

0

I'm experiencing this issue on 2025.1.2 and Xcode 16.2, 18.4 simulators, MBP M3, Sequoia 15.4

 

0

Still having error HE0004

I'm experiencing this issue on 2025.1.2 and Xcode 16.4, 18.4 simulators, MBP M4, Sequoia 15.4

0
Hello Matteo,
Thank you for contacting Rider Support.

Could you please reproduce the issue and collect the logs in the following way: 

- Go to Help | Diagnostic tools | Choose Trace Scenarios 
- Enable the Trace scenario for MultiPlatform
- Reproduce the issue
- Collect the full log bundle via Help | Collect Logs and Diagnostic Data, 
- Disable Trace scenarios;
- Attach the resulting log bundle to this ticket or upload it to our server (https://uploads.jetbrains.com/) and share the ID.

Thank you in advance and have a great day!
0

I have the same issue with Rider 2025.3 and Xcode 26.2 on Tahoe 26.3, running on an Intel processor. 

I looked in Xcode subdirectories, and some of the referenced components appeared to be missing. 

0

Hello Ross 

Thanks for contacting Support.

It'll be very helpful if you can reproduce the issue and collect the logs in the following way: 

- Go to Help | Diagnostic tools | Choose Trace Scenarios 
- Enable the Trace scenario for MultiPlatform
- Reproduce the issue
- Collect the full log bundle via Help | Collect Logs and Diagnostic Data
- Disable Trace scenarios;
- Attach the resulting log bundle to this ticket or upload it to our server (https://uploads.jetbrains.com/) and share the ID for further review.

Also, a simple sample project that reproduces the issue will help me investigate in the local environment.

0

Please sign in to leave a comment.