libsm64/libsm64-unity

iOS Support?

Opened this issue · 2 comments

Is this supposed to work on iOS devices or M1 Macs? I'm seeing exceptions where it isn't loading the lib at runtime.

Android seems to work in-editor but on device, it appears to have the same issue as the iOS/M1 Macs.

I haven't spent any effort to make it work on any platform besides desktop. I'm happy to accept pull requests that make this possible, but I'm not personally interested in that work myself.

No worries! I've found that the build script will output a .bundle file for macOS with minimal effort.

For iOS, putting the raw C code into a Plugins/iOS folder was enough, though Interop needed one additional attribute for one of the delegate methods for marshalling.