googlevr / gvr-ios-sdk

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

Rebuilding the GVRKit cocoapod #307

Open NathanaelA opened 6 years ago

NathanaelA commented 6 years ago

Because the GVRKit is a static cocoapod linked to the GVRSDK static cocaopod; I have been unable to create a third cocoapod that allows me to extend the functionality of GVRKit properly.

I'm trying to consume it in NativeScript, which only at this point allows Cocoapods, and the Static cocoapods w/ a dynamic cocoapod seems to break everything.

I'm assuming I'm doing something wrong; but is their any details on how you take the samples/GVRKit source and build the GVRKit cocoapod so it is static? I'm thinking it might be easier for me to rebuild the GVRKit cocoapod w/ my changed code and then consume it in NativeScript vs trying to add a third cocoapod that needs to consume gvrkit along with NativeScript needing to consume it...

Thanks in advance, any pointers would be very helpful...

Performador commented 6 years ago

Got across https://github.com/CocoaPods/CocoaPods/issues/3701. Investigating.

dustinkerstein commented 5 years ago

@NathanaelA, were you able to accomplish this?

NathanaelA commented 5 years ago

@dustinkerstein --

Sorry, I think the original solution we used was I just converted the open source source side into JavaScript to eliminate this middle layer cocapod. There was a lot of issues with GVRkit because of how Google bundles it... Then after we had a prototype; we looked at moving several parts back into native objc code and figured out a way around it. But the end result was I think we just used the non-open source cocoapod and didn't use this wrapper around it...

I am no longer involved with that project (I tend to do a lot of in-depth R&D work, and then let others run with it).