Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve error HE0004: Could not load the framework 'ContentDeliveryServices' in Visual Studio 2022

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 tested this on 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.

like image 625
Victor Chelaru Avatar asked Dec 02 '25 03:12

Victor Chelaru


1 Answers

You can install the package

Xamarin.iOS 16.4.0.3.pkg

To overwrite your Xamarin.iOs installation, and keep working with Xcode 14.3

Doing this worked for me!

like image 153
Led Machine Avatar answered Dec 04 '25 17:12

Led Machine



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!