googlevr / gvr-ios-sdk

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

GVR SDK include standard zlib #240

Closed poetryfar closed 7 years ago

poetryfar commented 7 years ago

As you see, GVR SDK include zlib(https://github.com/madler/zlib) , and did not change functions name. I find that many link error likes "duplicate symbol _inflate_copyright in:blablabla/xx.a/inftrees.o blablabal/libGVRSDK.a/inftrees.o"。

It's could be better change functions name (symbol) before release your SDK.

sanjayc77 commented 7 years ago

We specify Zlib as a Cocoapod dependency now: https://github.com/CocoaPods/Specs/blob/master/Specs/3/7/9/GVRSDK/1.100.0/GVRSDK.podspec.json#L25

Using Cocoapods to managing zlib inclusion in your app should address this issue.