Reputation: 4847
I have Visual Studio 17.5.3 installed on my PC with iOS version Xamarin.iOS and Xamarin.Mac SDK 16.2.0.5.
I am connected to a Mac that is running Ventura 13.3.1 with XCode 14.3.
When I attempt to deploy from Visual Studio on the PC, I get the following error:
error HE0004: Could not load the framework 'ContentDeliveryServices' (path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/ContentDeliveryServices):
I believe this has to do with Visual Studio not being compatible with XCode 14.3 because I upgraded my Mac and this problem started happening, but I haven't yet out if this is 14.2 because the installation takes a long time.
I will be trying to install 14.2 to see if it solves it, but in the meantime (and for future readers) does anyone have a solution to this problem?
Note that HE0004 error does appear in other posts online, but I haven't yet found any that mention this specific file. They seem to mention DVTITunesSoftwareServiceFoundation
, and the solution there has been to downgrade XCode as well.
Upvotes: 19
Views: 11722
Reputation: 637
I was getting the following error: Could not load the framework 'IDEDistribution' (path: /Applications/Xcode.app/Contents/SharedFrameworks/IDEDistribution.framework/Versions/A/IDEDistribution)
Running the following commands worked for me:
cd /Applications/Xcode.app/Contents/SharedFrameworks/IDEDistribution.framework/Versions/A
sudo mkdir Frameworks
sudo cp -r /Applications/Xcode.app/Contents/SharedFrameworks/AppThinning.framework ./Frameworks
Basically, it was looking for the Frameworks directory inside the A folder, but it wasn’t there. So, I created the directory and copied the contents from the AppThinning.framework directory into it.
Upvotes: 0
Reputation: 21
This error is showing with xcode 16.2 and rider 2024. The solution for me was to update Rider to 2024.3 as discussed here https://rider-support.jetbrains.com/hc/en-us/community/posts/22789137492882-error-HE0004-Could-not-load-the-framework-IDEDistribution
Upvotes: 0
Reputation: 7552
You can install the package
To overwrite your Xamarin.iOs installation, and keep working with Xcode 14.3
Doing this worked for me!
Upvotes: 35