question

DharmendraKumar avatar image
0 Votes"
DharmendraKumar asked LeonLu-MSFT commented

Xamarin.Forms || Could not load the framework 'IBFoundation'

I am using XCode 13 Beta 3 build 13A5192j on macOS Monterey (Version 12.0 Beta 21A5284e) with Visual Studio 2020 Preview.

When ever I am trying to run the Xamarin-Form application on real device, I am getting below error, but I am able to create archive :

Could not load the framework 'IBFoundation' (path: /Applications/XCode-beta.app/Contents/Frameworks/IBFoundation.framework/IBFoundation): not found.

I tried with visual studio 2019 (stable Version) and Xcode 12.* (stable version) but getting some connectivity error

dotnet-xamarin
· 7
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.

Please downgrade the version of VS and Xcode, for me this works:
VS 2019 - 16.9.3
Xcode - 12.4
Xamarin.iOS - 14.14.2.5

And for physical devices make sure Hot Restart is not enabled in Tools > Options > Xamarin > iOS settings

0 Votes 0 ·

I have removed the beta version of XCode and now using XCode 12.5.1 and below is the Visual Studio configuration

Microsoft Visual Studio Enterprise 2019
Version 16.10.3
VisualStudio.16.Release/16.10.3+31424.327
Microsoft .NET Framework
Version 4.8.04161
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Xamarin 16.10.000.234 (d16-10@ecaf29b)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 16.10.0.115 (remotes/origin/c750fbf1bde3c720d077f51640fe197c6dac7cbe@c750fbf1b)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 16.10.5 (355b57a)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 11.3.0.4 (d16-10/ae14caf)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: b4a3858
Java.Interop: xamarin/java.interop/d16-10@f39db25
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.35.4@85460d3
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-10@c5732a0
Xamarin.iOS and Xamarin.Mac SDK 14.20.0.24 (c4b89cddb)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Now I am getting below error

 MessagingRemoteException: An error occurred on client Build1610000234 while executing a reply for topic xvs/build/execute-task/<Project Name>.iOS/c843981002fDetectSdkLocations
 ArgumentNullException: Value cannot be null.
 Parameter name: path1    <ProjectName>.iOS


0 Votes 0 ·

Did you try to debug in the emulator? Is that worked?

0 Votes 0 ·
Show more comments

0 Answers