googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
645 stars 191 forks source link

Duplicate Symbols GVR #320

Open muzamil999 opened 6 years ago

muzamil999 commented 6 years ago

I built an application in unity that uses GVRSDK. Upon building app for iOS an opening generated project in Xcode. It fails to build in Xcode and generates linking error with thousands of duplicate symbols identified. I removed the GVRSDK pod from pod file but then generates issue of missing files. Upon adding it shows duplicity of symbol like: screen shot 2018-05-15 at 7 45 40 pm

Is there any solution? I tried many ones mentioned in other issues but none of them worked out

Performador commented 6 years ago

These seem to come from duplicate symbols in zLib.

Unity has rolled out a fix where they renamed the zLib functions which should be out in 2017.2, .3, .4, and 2018.1. Is your Unity up to date?

muzamil999 commented 6 years ago

Yes. I had it installed few month ago.. But it doesn't seems there is way out of it

Performador commented 6 years ago

What's your Unity version?

Investigating turning gvrsdk into a dynamic library which should eliminate these duplicate symbols.