Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity 6 xcframework fix #3694

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

samclothier
Copy link

Description

I believe this change would disable the hacky workaround for the lack of xcframework support in Unity, but don't understand why it was working for me in Unity 2021.3 because Unity claims that .xcframeworks are supported in Unity 2021.3, 2022.3 and Unity 6: https://discussions.unity.com/t/does-unity-support-xcframeworks/240687/5

xcframework generation and the workaround was introduced in Realm.NET 10.3: https://github.com/realm/realm-dotnet/pull/2475/files
but it was also mentioned since that xcframework is no longer generated and we are just dealing with a .framework in 10.19 and 20.1:
#2906 (comment)

So it seems that the workaround itself shouldn't be causing the issue, it's possible that this is just a Unity 6 compatibility issue.

I have no way to test this change without a packaged up tarball file of Realm for Unity because the suggested method had dependency issues I wasn't able to fix (Cecil.pdb, Cecil.Rocky etc)

I'd like to test this change in either Realm 10.19 or 20.1 in Unity 6 - could you provide a tarball with this change? Or provide instructions on how I can generate this myself?

Fixes #3693

TODO

  • Changelog entry
  • Tests

Copy link

cla-bot bot commented Jan 29, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Sam.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

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.

Unity 6 iOS | Unable to load dynamic library '/realm-wrappers'
1 participant