we have a big problem when using mono on IOs.
We have an Interface
public Interface Inter
void CallA(int x);
void CallB(short x);
We have a mono exe on IOS that implements this interface. The Interface is part of a dll. when the Dll calls
the call is received correctly.
when it calls
We have log output before and after each calls... the function is called but nothing happens.
If we compile the dll code in the same exe everything works.
on all other platforms ( mac, windows) everything works. It even works inside the IPhone Simulator....
We disabled code stripping and eliminate dead code in xcode.
We would be very happy if anyone has an idea...
I guess the issue is an AOT or JIT problem.
We were allready talking with some monotouch guys.. they said we should try to disable llvm .. this is not possible in unity, is it?
Thanks in advance...
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
4 People are following this question.
AOT Runtime Problem: Variable of type IMyInterface changes type to String(impossible..??)
Unity Mono AOT iOS failure for generic method
iOS JIT compile error on Generic method called with basic types (int, bool, float)
Serialize on iOS , that is AOT safe.
How to make external C# dll library loadable (reflection) on iPhone?