Skip to content

Conversation

@EmilienDup
Copy link

@EmilienDup EmilienDup commented Nov 25, 2025

Description

Fixes #3711.
Allows Realm to work in net10-ios apps.

This change is minimal.
It is based on this comment.
Ideally I think it would have been better to delegate the wrappers initialization to the platform level (Windows & iOS).
But as the platform level code is not part of the main assembly, changing the resolver of another assembly is not recommended.

As I am developing on a Mac, I encountered a lot of hiccups when trying to build the various projects.
Based on my testings it should work fine on net8-ios and net10-ios, but if it is possible to generate nuget packages from my PR, I would like to test them in a standalone app to make sure everything works well once packaged up.

TODO

  • Changelog entry
  • Tests

@cla-bot
Copy link

cla-bot bot commented Nov 25, 2025

Realm welcomes all contributions! The only requirement we have is that, like many other projects, we need to have a Contributor License Agreement (CLA) in place before we can accept any external code. Our own CLA is a modified version of the Apache Software Foundation’s CLA. Our records show that CLA has not been signed by @EmilienDup. Please submit your CLA electronically using our Google form so we can accept your submissions. After signing the CLA you can recheck this PR with a @cla-bot check comment. The GitHub usernames you file there will need to match that of your Pull Requests. If you have any questions or cannot file the CLA electronically, make a comment here and we will be happy to help you out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting error The type initializer for 'Realms.SharedRealmHandle' threw an exception. System.DllNotFoundException: realm-wrappers

1 participant