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

trampolines compile how-to? #4

Closed
ghost opened this issue Aug 12, 2019 · 1 comment
Closed

trampolines compile how-to? #4

ghost opened this issue Aug 12, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 12, 2019

Hi, I own your bundle product on unity asset store. I am trying to find out more info about AOT Trampolines on iOS. I found this link below:
https://www.mono-project.com/docs/advanced/runtime/docs/trampolines/

  • however I do not know the specifics of how it relates to your project or how to use this feature. Where do I paste your AOT Compilation Option?
    xcode? xamarin?

Can I paste only one option or all?
i.e. are they referring to standard, PLT, delegate?

I believe I understand what they do. It is the only way to use runtime code on iOS - as the iOS platform doesn't support JIT. I assume this lets us use xlua on iOS. My limited understanding is that on AOT we get a token for the type/ptl/delegate we are accessing so we can call the method from xlua in a more static and likely secure way?

Mainly just a hello world for iOS and AOT using these trampolines and where to put those compilation options and what each does, is all we would need.

Thank you for your time reading this.
also mentioned on unity forums, not sure which would get your eyes first :-)
https://forum.unity.com/threads/loxodon-framework-mvvm.545335/#post-4849013

@vovgou
Copy link
Owner

vovgou commented Aug 13, 2019

Hi

The configuration of trampolines is not necessary now, but in the early versions of Unity3d,if not configured, it will cause the game to crash on the iOS platform.

Please read the following article:
https://forum.unity.com/threads/trampolines-which-is-for-what.342739/

Please configure them in the location shown below.

@vovgou vovgou closed this as completed Sep 3, 2020
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

No branches or pull requests

1 participant