googlevr / gvr-ios-sdk

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

pod lint error #273

Closed gr8woo closed 6 years ago

gr8woo commented 7 years ago

I am trying to create a vr video player module so I added gvr sdk to podspec as a dependency.

s.dependency "GVRSDK"

And when I run pod lib lint, I get an error

'- ERROR | [iOS] unknown: Encountered an unknown error (The 'Pods-App' target has transitive dependencies that include static binaries: (/private/var/folders/78/53y9x5x52j739npqb9svnbz00000gn/T/CocoaPods-Lint-20170915-34867-fhzvin-zigbang-vr-ios/Pods/GVRSDK/Libraries/libGVRSDK.a)'

This error seems to be caused by a static library, so can you deploy it in a dynamic framework?

sanjayc77 commented 6 years ago

This is not feasible at the moment, based on how our internal libraries are setup. But it is something we care about and will try to address in the future.

As a workaround, I would recommend switching to GVRKit: https://github.com/googlevr/gvr-ios-sdk/tree/master/Samples/GVRKit

This is available as sample code and as a Cocoapod (static framework).