videokit-ai / natshare

Cross-platform social sharing for Unity Engine.
https://github.com/natmlx/videokit
Apache License 2.0
134 stars 28 forks source link

Issue building for WebGL #21

Closed spaggi2 closed 6 years ago

spaggi2 commented 6 years ago

Hi,

I'm attempting my iOS and Android App which uses NatShare (great job btw!) to WebGL. I'm using the latest version from the Asset store on Unity 2018.1f.6

Builds on iOS and Android compile fine, however the WebGL Build fails with the following error:

423: [Unity] stderr:ERROR:root:/BUILD_PATH/xxxx.xxxx.default-webgl/Assets/NatShare/Plugins/iOS/libNatShare.a: Unknown format, not a static library! 424: [Unity] UnityEditor.CloudBuild.BuildLogger:HighlightUnityErrors(String, String, LogType) 425: [Unity] stderr:ERROR:root:/BUILD_PATH/deraggi.fortdesigner.default-webgl/Assets/NatShare/Plugins/iOS/libNatShare.a: Unknown format, not a static library!

I have no idea what this means, but do you know any way how I can fix that?

Thanks a ton!

spaggi2 commented 6 years ago

Ok, I found this thread about it - I'll try this when I get home later

https://forum.unity.com/threads/help-with-webgl.355291/

olokobayusuf commented 6 years ago

That's most probably the fix.