question

KariTalltjarn avatar image
0 Votes"
KariTalltjarn asked RobCaplan edited

Debug fails for IOS in Xamarin - error HE0004: Could not load the framework 'DVTAnalytics'

Trying to test a new version of Xamarin app. Work fine in Android. Have worked fine a couple of weeks ago also for Iphone/Ipad. Today I get error when trying to debug on Ipad.

error HE0004: Could not load the framework 'DVTAnalytics' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework/DVTAnalytics): dlopen(/Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework/DVTAnalytics, 1): Library not loaded: @rpath/DVTProducts.framework/Versions/A/DVTProducts

Tried with different variants of my certificates but cannot get it to work.

Anyone having an idea?

dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have the exact same issue. I upgraded everything (Mac OS to 11.5.2, XCode to 12.5.1, VS 2019 to 16.11.2, and that causes Mono and Xamarin to upgrade on the Mac.
After all that, got the exact same error I started with.

0 Votes 0 ·

1 Answer

ColeXia-MSFT avatar image
0 Votes"
ColeXia-MSFT answered KariTalltjarn commented

Hello,

Welcome to Microsoft Q&A!

May I know have you ever updated XCode recently? The error is probably caused with the old Xamarin.iOS packages.

To solve the problem you can try to reinstall visual studio for mac and update Xamarin.iOS to the latest , and also update visual studio for windows .

Best Regards,
Cole Xia


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The issue was solved by below. Great!

  • Upgrade of Visual studio 2019 to latest

  • Upgrade of Imac OS

  • Xamarin.IOS was updated automatically when invoking remote connection to Imac

Thanks I was totally lost for a while!



0 Votes 0 ·