-
Notifications
You must be signed in to change notification settings - Fork 174
Description
What happened?
After upgrading to net10 to compile with Xcode 26.2, my application throws the following exception
{System.TypeInitializationException: The type initializer for 'Realms.SharedRealmHandle' threw an exception.
---> System.DllNotFoundException: realm-wrappers
at Realms.SynchronizationContextScheduler.Initialize()
at Realms.NativeCommon.Initialize()
at Realms.SharedRealmHandle..cctor()
--- End of inner exception stack trace ---
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Realm.GetInstance(RealmConfigurationBase config)
I've already tried:
- Clean/Build/Rebuild.
- Delete bin/obj folders.
- Reinstall the NuGet package.
But nothing works.
I'm working from my Windows 11 PRO to Mac OS Sequoia 15.7.2 XCODE 26.2.
Please Help.
Repro steps
Just crash on launch.
Version
NET 10, Visual Studio 2022 17.14.23, Realm 20.1.0
What Atlas Services are you using?
Local Database only
What type of application is this?
Other
Client OS and version
15.7.2
Code snippets
No response