Quantcast
Channel: Questions in topic: "il2cpp"
Viewing all articles
Browse latest Browse all 598

Using dynamic libraries as plugins on ios? (framework, dylib)

$
0
0
Is it possible to use plugins that are linked dynamically on iOS? e.g. framework or dylib files. So far the unity editor seems to accept .framework just fine and also use them for linking in the iOS XCode project but it won't copy them into the .app folder. I also tried copying it manually without success. Calling anything like [DllImport("myplugin")] public extern static int AddInteger(int a, int b); will fail with the error message :"Unable to load DLL 'myplugin': The specified module could not be found." The Unity documentation doesn't seem to have any information about this. My test plugin works just fine as static library in Unity, or as framework via a native iOS application. It just doesn't work in Unity :/ I have a huge library which isn't designed for static linking and being able to include it as dynamic library would save me days or weeks :/ Edit: I am using IL2CPP

Viewing all articles
Browse latest Browse all 598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>